Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001713/0.001713, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002081/0.002081, allocations: 216.2 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.41 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04016/0.4351, allocations: 31.52 MB / 1.358 GB, free: 1.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.4552, allocations: 10.29 MB / 1.368 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004996/0.4602, allocations: 198.5 kB / 1.368 GB, free: 6.816 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.4711, allocations: 3.727 MB / 1.372 GB, free: 3.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.4779, allocations: 1.952 MB / 1.374 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.4846, allocations: 2.138 MB / 1.376 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.496, allocations: 7.326 MB / 1.383 GB, free: 7.633 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008873/0.5049, allocations: 5.09 MB / 1.388 GB, free: 2.422 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00657/0.5114, allocations: 3.303 MB / 1.391 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007177/0.5186, allocations: 3.453 MB / 1.395 GB, free: 11.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002178/0.5208, allocations: 0.6484 MB / 1.395 GB, free: 11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.5257, allocations: 1.654 MB / 1.397 GB, free: 9.34 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00421/0.5299, allocations: 2.611 MB / 1.399 GB, free: 6.723 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005053/0.535, allocations: 2.342 MB / 1.402 GB, free: 4.371 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.5493, allocations: 10.18 MB / 1.412 GB, free: 10.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5493, allocations: 0 / 1.412 GB, free: 10.16 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5493, allocations: 0 / 1.412 GB, free: 10.16 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004111/0.5497, allocations: 0 / 1.412 GB, free: 10.16 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01485/0.5646, allocations: 5.048 MB / 1.417 GB, free: 5.047 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5646, allocations: 8.031 kB / 1.417 GB, free: 5.039 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006144/0.5708, allocations: 0.9892 MB / 1.417 GB, free: 4.047 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008093/0.5789, allocations: 2.999 MB / 1.42 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/0.5794, allocations: 349.7 kB / 1.421 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.5816, allocations: 468.3 kB / 1.421 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.603, allocations: 7.964 MB / 1.429 GB, free: 7.789 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003549/0.6034, allocations: 31.81 kB / 1.429 GB, free: 7.758 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/0.6052, allocations: 200 kB / 1.429 GB, free: 7.562 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004736/0.6056, allocations: 308.9 kB / 1.429 GB, free: 7.258 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.6196, allocations: 5.702 MB / 1.435 GB, free: 1.539 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0393/0.6589, allocations: 21.92 MB / 1.456 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.6619, allocations: 1.551 MB / 1.458 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.6638, allocations: 1.136 MB / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.6639, allocations: 17.31 kB / 1.459 GB, free: 8.266 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.6639, allocations: 43.88 kB / 1.459 GB, free: 8.215 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 4.869e-06/0.6639, allocations: 0 / 1.459 GB, free: 8.215 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01544/0.6794, allocations: 6.187 MB / 1.465 GB, free: 1.984 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.6794, allocations: 72.66 kB / 1.465 GB, free: 1.902 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.682, allocations: 1.407 MB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.6821, allocations: 45.7 kB / 1.467 GB, free: 452 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.6839, allocations: 2.069 MB / 1.469 GB, free: 14.35 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/0.6845, allocations: 0.4957 MB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006621/0.6852, allocations: 347.4 kB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6853, allocations: 305.1 kB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.6868, allocations: 0.9213 MB / 1.471 GB, free: 12.28 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.6888, allocations: 1.593 MB / 1.472 GB, free: 10.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003806/0.6927, allocations: 2.733 MB / 1.475 GB, free: 7.332 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/0.6927, allocations: 8 kB / 1.475 GB, free: 7.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00671/0.6994, allocations: 3.508 MB / 1.478 GB, free: 3.773 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.6994, allocations: 16 kB / 1.478 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.6995, allocations: 20 kB / 1.478 GB, free: 3.738 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.7022, allocations: 0.8999 MB / 1.479 GB, free: 2.801 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.7035, allocations: 355.3 kB / 1.48 GB, free: 2.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.727, allocations: 21.47 MB / 1.501 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.7288, allocations: 99.92 kB / 1.501 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.729, allocations: 87.98 kB / 1.501 GB, free: 11.58 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00312/0.7321, allocations: 1.607 MB / 1.502 GB, free: 9.965 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.7326, allocations: 202.7 kB / 1.503 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005647/0.7383, allocations: 2.959 MB / 1.505 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.7383, allocations: 15.94 kB / 1.505 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/0.7383, allocations: 12 kB / 1.505 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.7383, allocations: 11.97 kB / 1.505 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.7499, allocations: 5.999 MB / 1.511 GB, free: 0.582 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.7499, allocations: 4 kB / 1.511 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.7508, allocations: 175.7 kB / 1.511 GB, free: 416 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.7532, allocations: 0.822 MB / 1.512 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.7534, allocations: 32 kB / 1.512 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/0.7756, allocations: 20.33 MB / 1.532 GB, free: 9.957 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.7756, allocations: 15.81 kB / 1.532 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.7813, allocations: 3.006 MB / 1.535 GB, free: 6.82 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7825, allocations: 386.5 kB / 1.535 GB, free: 6.441 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.7827, allocations: 31.94 kB / 1.536 GB, free: 6.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/0.7834, allocations: 71.92 kB / 1.536 GB, free: 6.34 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.7839, allocations: 128.6 kB / 1.536 GB, free: 6.215 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.393e-05/0.784, allocations: 44 kB / 1.536 GB, free: 6.172 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001321/0.7853, allocations: 0.8942 MB / 1.537 GB, free: 5.285 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.7853, allocations: 0 / 1.537 GB, free: 5.285 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003112/0.7884, allocations: 0.7852 MB / 1.537 GB, free: 4.5 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002894/0.7887, allocations: 139 kB / 1.538 GB, free: 4.355 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006369/0.795, allocations: 3.91 MB / 1.541 GB, free: 296 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.7951, allocations: 4.938 kB / 1.541 GB, free: 292 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.7991, allocations: 2.677 MB / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.8024, allocations: 0.7034 MB / 1.545 GB, free: 12.78 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.818, allocations: 7.977 MB / 1.552 GB, free: 4.703 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/0.8221, allocations: 2.635 MB / 1.555 GB, free: 2.039 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.8228, allocations: 119.4 kB / 1.555 GB, free: 1.922 MB / 1.248 GB Notification: Performance of SimCode: time 1.422e-06/0.8228, allocations: 0 / 1.555 GB, free: 1.922 MB / 1.248 GB Notification: Performance of Templates: time 1.072/1.895, allocations: 323 MB / 1.871 GB, free: 11 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 24.508281038841233]