Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001468/0.001468, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001475/0.001475, allocations: 192 kB / 22.23 MB, free: 5.16 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.417/1.417, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 496 MB / 0.7835 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003176/0.003176, allocations: 66.3 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3766, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02777/0.4043, allocations: 21.22 MB / 1.328 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.4176, allocations: 6.675 MB / 1.335 GB, free: 5.766 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.4197, allocations: 111.2 kB / 1.335 GB, free: 5.656 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006482/0.4262, allocations: 2.345 MB / 1.337 GB, free: 3.305 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.4301, allocations: 1.244 MB / 1.338 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.4337, allocations: 1.32 MB / 1.339 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006878/0.4406, allocations: 4.85 MB / 1.344 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004833/0.4454, allocations: 2.949 MB / 1.347 GB, free: 8.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/0.4502, allocations: 2.142 MB / 1.349 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005378/0.4556, allocations: 2.473 MB / 1.352 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.4566, allocations: 436 kB / 1.352 GB, free: 3.801 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.4591, allocations: 1.022 MB / 1.353 GB, free: 2.777 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.4619, allocations: 1.715 MB / 1.355 GB, free: 1.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00387/0.4658, allocations: 1.914 MB / 1.357 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008891/0.4747, allocations: 6.534 MB / 1.363 GB, free: 8.582 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4747, allocations: 0 / 1.363 GB, free: 8.582 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4747, allocations: 0 / 1.363 GB, free: 8.582 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001849/0.4749, allocations: 0 / 1.363 GB, free: 8.582 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009262/0.4842, allocations: 3.462 MB / 1.366 GB, free: 5.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4842, allocations: 12.92 kB / 1.366 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.4879, allocations: 0.6545 MB / 1.367 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.4929, allocations: 1.997 MB / 1.369 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.4931, allocations: 222.3 kB / 1.369 GB, free: 2.133 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008284/0.494, allocations: 292.3 kB / 1.369 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.504, allocations: 4.894 MB / 1.374 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.85e-05/0.5041, allocations: 23.83 kB / 1.374 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.5044, allocations: 124 kB / 1.374 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004536/0.5049, allocations: 233.7 kB / 1.375 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.5124, allocations: 3.746 MB / 1.378 GB, free: 8.621 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.5408, allocations: 21.22 MB / 1.399 GB, free: 1.402 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.5429, allocations: 1.235 MB / 1.4 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5445, allocations: 0.9952 MB / 1.401 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.5446, allocations: 13 kB / 1.401 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.5446, allocations: 47.5 kB / 1.401 GB, free: 15.1 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.046e-06/0.5446, allocations: 0 / 1.401 GB, free: 15.1 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02579/0.5704, allocations: 8.439 MB / 1.409 GB, free: 6.656 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.5705, allocations: 64.72 kB / 1.409 GB, free: 6.582 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.5727, allocations: 1.134 MB / 1.411 GB, free: 5.441 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.5729, allocations: 45.7 kB / 1.411 GB, free: 5.391 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.574, allocations: 1.335 MB / 1.412 GB, free: 4.043 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000615/0.5746, allocations: 0.4957 MB / 1.412 GB, free: 3.543 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/0.5752, allocations: 287.5 kB / 1.413 GB, free: 3.254 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5754, allocations: 309 kB / 1.413 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.5769, allocations: 0.9213 MB / 1.414 GB, free: 2.027 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.5788, allocations: 1.322 MB / 1.415 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.5825, allocations: 2.43 MB / 1.418 GB, free: 13.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.5825, allocations: 4 kB / 1.418 GB, free: 13.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00697/0.5894, allocations: 3.425 MB / 1.421 GB, free: 10.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.5895, allocations: 15.94 kB / 1.421 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.5895, allocations: 12 kB / 1.421 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/0.593, allocations: 1.185 MB / 1.422 GB, free: 9.266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5941, allocations: 259.5 kB / 1.422 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.6147, allocations: 13.55 MB / 1.436 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6162, allocations: 91.97 kB / 1.436 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/0.6165, allocations: 60 kB / 1.436 GB, free: 10.98 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001978/0.6185, allocations: 1.118 MB / 1.437 GB, free: 9.855 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.619, allocations: 167 kB / 1.437 GB, free: 9.691 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006379/0.6254, allocations: 3.134 MB / 1.44 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6254, allocations: 12 kB / 1.44 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.6254, allocations: 15.94 kB / 1.44 GB, free: 6.508 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.6254, allocations: 11.95 kB / 1.44 GB, free: 6.496 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.6371, allocations: 6.19 MB / 1.446 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6371, allocations: 4 kB / 1.446 GB, free: 176 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.6377, allocations: 143.8 kB / 1.446 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.6408, allocations: 1.068 MB / 1.447 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.6409, allocations: 28 kB / 1.447 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.6596, allocations: 13.26 MB / 1.46 GB, free: 1.324 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6596, allocations: 4 kB / 1.46 GB, free: 1.32 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/0.6655, allocations: 3.124 MB / 1.463 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.6665, allocations: 358.8 kB / 1.464 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.6667, allocations: 24 kB / 1.464 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/0.6675, allocations: 83.89 kB / 1.464 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/0.6679, allocations: 136.6 kB / 1.464 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.668, allocations: 39.94 kB / 1.464 GB, free: 13.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001133/0.6691, allocations: 0.7632 MB / 1.465 GB, free: 12.72 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6691, allocations: 0 / 1.465 GB, free: 12.72 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002082/0.6712, allocations: 0.6602 MB / 1.465 GB, free: 12.06 MB / 1.17 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002761/0.6715, allocations: 143.8 kB / 1.465 GB, free: 11.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005319/0.6768, allocations: 3.002 MB / 1.468 GB, free: 8.867 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.6768, allocations: 12.06 kB / 1.468 GB, free: 8.855 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/0.6801, allocations: 1.876 MB / 1.47 GB, free: 6.941 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.6824, allocations: 0.5082 MB / 1.471 GB, free: 6.449 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6927, allocations: 5.526 MB / 1.476 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/0.6956, allocations: 2.336 MB / 1.478 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001272/0.6969, allocations: 350.1 kB / 1.479 GB, free: 14.12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6971, allocations: 91.42 kB / 1.479 GB, free: 14.03 MB / 1.186 GB Notification: Performance of SimCode: time 1.082e-06/0.6972, allocations: 0 / 1.479 GB, free: 14.03 MB / 1.186 GB Notification: Performance of Templates: time 0.06375/0.7609, allocations: 34.78 MB / 1.513 GB, free: 11.68 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 10.003392205573618]