Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 181.9 kB / 23.22 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.876/0.876, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.724/1.724, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.377e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004705/0.004729, allocations: 5.215 MB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.007434, allocations: 2.575 MB / 1.009 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.007664, allocations: 35.69 kB / 1.009 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.008635, allocations: 0.6844 MB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.009199, allocations: 441.2 kB / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.009717, allocations: 405 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006594/0.01038, allocations: 0.9785 MB / 1.011 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.01078, allocations: 378.5 kB / 1.011 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005411/0.01132, allocations: 0.5182 MB / 1.012 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.01167, allocations: 366.9 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.01172, allocations: 52 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.01205, allocations: 327.2 kB / 1.013 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.01223, allocations: 263.2 kB / 1.013 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.01238, allocations: 243.4 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.01313, allocations: 0.9968 MB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01313, allocations: 0 / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01313, allocations: 0 / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.01314, allocations: 0 / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001014/0.01416, allocations: 0.9092 MB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.0142, allocations: 12.75 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.01492, allocations: 200.2 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.01545, allocations: 451 kB / 1.016 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.01548, allocations: 41.36 kB / 1.016 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.01559, allocations: 52.53 kB / 1.016 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.01639, allocations: 0.9789 MB / 1.017 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01641, allocations: 4.188 kB / 1.017 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.01645, allocations: 24.11 kB / 1.017 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.01657, allocations: 72.89 kB / 1.017 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.01716, allocations: 0.5697 MB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.01961, allocations: 3.476 MB / 1.021 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.01992, allocations: 267.3 kB / 1.021 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.02012, allocations: 217.3 kB / 1.021 GB, free: 7.973 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.02015, allocations: 16.16 kB / 1.021 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.02017, allocations: 34.84 kB / 1.021 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.02017, allocations: 7.875 kB / 1.021 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.003146/0.02332, allocations: 2.328 MB / 1.023 GB, free: 5.527 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.02335, allocations: 59.34 kB / 1.023 GB, free: 5.457 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.02364, allocations: 425.8 kB / 1.024 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.02367, allocations: 29.7 kB / 1.024 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02383, allocations: 356.3 kB / 1.024 GB, free: 4.641 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.02391, allocations: 150.7 kB / 1.024 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02402, allocations: 110.2 kB / 1.024 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.02412, allocations: 362.7 kB / 1.025 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.02435, allocations: 237.2 kB / 1.025 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.02465, allocations: 407.4 kB / 1.025 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.02531, allocations: 0.6778 MB / 1.026 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.02531, allocations: 4 kB / 1.026 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009862/0.0263, allocations: 0.9018 MB / 1.027 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.02631, allocations: 8 kB / 1.027 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.02632, allocations: 8.656 kB / 1.027 GB, free: 1.621 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.02675, allocations: 222.4 kB / 1.027 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.02703, allocations: 115.8 kB / 1.027 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.03021, allocations: 4.939 MB / 1.032 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.03041, allocations: 36.09 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.03044, allocations: 23.94 kB / 1.032 GB, free: 11.98 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.03065, allocations: 225.6 kB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.03081, allocations: 55.67 kB / 1.032 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009031/0.03171, allocations: 0.7691 MB / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.03172, allocations: 4 kB / 1.033 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.03172, allocations: 4 kB / 1.033 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.03172, allocations: 0 / 1.033 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.03314, allocations: 1.326 MB / 1.035 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.03315, allocations: 4 kB / 1.035 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.03334, allocations: 63.94 kB / 1.035 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/0.03369, allocations: 210.7 kB / 1.035 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.03372, allocations: 12 kB / 1.035 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.0367, allocations: 4.864 MB / 1.04 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.0367, allocations: 4 kB / 1.04 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.0378, allocations: 1.112 MB / 1.041 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.03792, allocations: 91.77 kB / 1.041 GB, free: 2.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.03796, allocations: 19.88 kB / 1.041 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.03812, allocations: 27.95 kB / 1.041 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.03817, allocations: 35.94 kB / 1.041 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.03819, allocations: 12.06 kB / 1.041 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001967/0.03839, allocations: 287.1 kB / 1.041 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03839, allocations: 0 / 1.041 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004459/0.03883, allocations: 167.9 kB / 1.041 GB, free: 2.254 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.03898, allocations: 119.1 kB / 1.041 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009926/0.03998, allocations: 0.9655 MB / 1.042 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.03998, allocations: 0 / 1.042 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.04049, allocations: 0.6656 MB / 1.043 GB, free: 428 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.04104, allocations: 169.3 kB / 1.043 GB, free: 268 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.04244, allocations: 1.263 MB / 1.044 GB, free: 14.94 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.04268, allocations: 354 kB / 1.045 GB, free: 14.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.04278, allocations: 48.44 kB / 1.045 GB, free: 14.52 MB / 1.01 GB Notification: Performance of SimCode: time 8.91e-07/0.04278, allocations: 0 / 1.045 GB, free: 14.52 MB / 1.01 GB Notification: Performance of Templates: time 0.4014/0.4441, allocations: 14.92 MB / 1.059 GB, free: 96.16 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.147571988403797]