Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 1.136 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8537, allocations: 173.7 MB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008262/0.862, allocations: 5.732 MB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00484/0.8668, allocations: 2.743 MB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.8672, allocations: 21.69 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.8691, allocations: 0.716 MB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.8702, allocations: 425.7 kB / 1.315 GB, free: 10.22 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.8713, allocations: 409.9 kB / 1.315 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.8726, allocations: 0.9538 MB / 1.316 GB, free: 9.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005965/0.8732, allocations: 337.7 kB / 1.316 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.8738, allocations: 380.2 kB / 1.317 GB, free: 8.938 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/0.8745, allocations: 438.2 kB / 1.317 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.8746, allocations: 47.12 kB / 1.317 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.8754, allocations: 373 kB / 1.318 GB, free: 8.496 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.8757, allocations: 254.3 kB / 1.318 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.8762, allocations: 351.3 kB / 1.318 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.8776, allocations: 0.98 MB / 1.319 GB, free: 7.445 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8776, allocations: 1.156 kB / 1.319 GB, free: 7.445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8776, allocations: 0 / 1.319 GB, free: 7.445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.8776, allocations: 0 / 1.319 GB, free: 7.445 MB / 1.014 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.002046/0.8797, allocations: 0.9979 MB / 1.32 GB, free: 6.637 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.8797, allocations: 9.344 kB / 1.32 GB, free: 6.637 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.8811, allocations: 196.6 kB / 1.32 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.882, allocations: 0.5269 MB / 1.321 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.882, allocations: 45.52 kB / 1.321 GB, free: 6.094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.8822, allocations: 58.38 kB / 1.321 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.8835, allocations: 0.8284 MB / 1.322 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.8835, allocations: 6.719 kB / 1.322 GB, free: 5.465 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.8836, allocations: 27.17 kB / 1.322 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.8837, allocations: 69.52 kB / 1.322 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009465/0.8847, allocations: 0.5675 MB / 1.322 GB, free: 5.137 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.8898, allocations: 4.575 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.8904, allocations: 278.7 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.8907, allocations: 210.4 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.8908, allocations: 3.531 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.8908, allocations: 41.11 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.8908, allocations: 0 / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005873/0.8967, allocations: 2.642 MB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.8967, allocations: 59.53 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.8972, allocations: 464.9 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.8973, allocations: 32.45 kB / 1.331 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.8976, allocations: 356.2 kB / 1.331 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8977, allocations: 150 kB / 1.331 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.8979, allocations: 105.5 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.898, allocations: 363.9 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.8984, allocations: 235.7 kB / 1.332 GB, free: 13.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.8989, allocations: 410.5 kB / 1.332 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.8998, allocations: 0.6763 MB / 1.333 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8998, allocations: 1.562 kB / 1.333 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001801/0.9016, allocations: 0.9097 MB / 1.334 GB, free: 12.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9016, allocations: 19.91 kB / 1.334 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.9016, allocations: 5.156 kB / 1.334 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000816/0.9024, allocations: 230.5 kB / 1.334 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.903, allocations: 112.3 kB / 1.334 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.9087, allocations: 5.345 MB / 1.339 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.9093, allocations: 29.97 kB / 1.339 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.9093, allocations: 27.7 kB / 1.339 GB, free: 6.957 MB / 1.029 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.0003398/0.9097, allocations: 223.3 kB / 1.339 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.9098, allocations: 64.05 kB / 1.34 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.9114, allocations: 0.7631 MB / 1.34 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9114, allocations: 8.5 kB / 1.34 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.9115, allocations: 1.906 kB / 1.34 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.9115, allocations: 5.141 kB / 1.34 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.9141, allocations: 1.483 MB / 1.342 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.9141, allocations: 6.312 kB / 1.342 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.9145, allocations: 64.61 kB / 1.342 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006887/0.9152, allocations: 210.1 kB / 1.342 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.9152, allocations: 9.125 kB / 1.342 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.9212, allocations: 5.282 MB / 1.347 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.9212, allocations: 10.42 kB / 1.347 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.9231, allocations: 1.121 MB / 1.348 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.9235, allocations: 174.1 kB / 1.348 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.9235, allocations: 8.531 kB / 1.348 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.9239, allocations: 31.75 kB / 1.348 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.924, allocations: 35.58 kB / 1.349 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.924, allocations: 13.88 kB / 1.349 GB, free: 15.19 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003881/0.9244, allocations: 317.5 kB / 1.349 GB, free: 15 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9244, allocations: 0 / 1.349 GB, free: 15 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007279/0.9251, allocations: 166.2 kB / 1.349 GB, free: 14.98 MB / 1.045 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.0001592/0.9253, allocations: 118.1 kB / 1.349 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.927, allocations: 0.962 MB / 1.35 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.927, allocations: 5.438 kB / 1.35 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.928, allocations: 0.6664 MB / 1.351 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.9288, allocations: 196.3 kB / 1.351 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9311, allocations: 1.275 MB / 1.352 GB, free: 12.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.9319, allocations: 0.9534 MB / 1.353 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003339/0.9322, allocations: 115.2 kB / 1.353 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.9323, allocations: 36.78 kB / 1.353 GB, free: 11.88 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/0.9323, allocations: 0 / 1.353 GB, free: 11.88 MB / 1.045 GB Notification: Performance of Templates: time 0.0165/0.9488, allocations: 9.26 MB / 1.362 GB, free: 7.391 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.803698448464274]