Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001952/0.001952, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002079/0.002079, allocations: 190.2 kB / 22.1 MB, free: 5.148 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.486/1.486, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.096/3.096, allocations: 495.8 MB / 0.783 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] 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_L_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003171/0.003171, allocations: 70.36 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3565, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04615/0.4026, allocations: 36.39 MB / 1.342 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.4235, allocations: 11.9 MB / 1.354 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.4265, allocations: 210.5 kB / 1.354 GB, free: 1.141 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.4384, allocations: 4.454 MB / 1.358 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/0.4445, allocations: 2.088 MB / 1.361 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006598/0.4511, allocations: 2.462 MB / 1.363 GB, free: 8.117 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.4631, allocations: 8.469 MB / 1.371 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.4736, allocations: 5.86 MB / 1.377 GB, free: 9.648 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006643/0.4802, allocations: 3.845 MB / 1.381 GB, free: 5.793 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008287/0.4885, allocations: 4.424 MB / 1.385 GB, free: 1.355 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002511/0.491, allocations: 0.7812 MB / 1.386 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005808/0.4968, allocations: 1.911 MB / 1.388 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005771/0.5026, allocations: 3.141 MB / 1.391 GB, free: 11.51 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007257/0.5099, allocations: 3.393 MB / 1.394 GB, free: 8.105 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.5274, allocations: 12.01 MB / 1.406 GB, free: 12.06 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5274, allocations: 7.938 kB / 1.406 GB, free: 12.05 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5274, allocations: 0 / 1.406 GB, free: 12.05 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003355/0.5278, allocations: 0 / 1.406 GB, free: 12.05 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01474/0.5425, allocations: 5.863 MB / 1.411 GB, free: 6.125 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5426, allocations: 8.031 kB / 1.411 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006037/0.5486, allocations: 1.086 MB / 1.413 GB, free: 5.027 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007454/0.556, allocations: 3.411 MB / 1.416 GB, free: 1.547 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.5564, allocations: 415.5 kB / 1.416 GB, free: 1.141 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5576, allocations: 0.5432 MB / 1.417 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.5757, allocations: 9.075 MB / 1.426 GB, free: 7.203 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.5759, allocations: 31.81 kB / 1.426 GB, free: 7.172 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006597/0.5765, allocations: 240 kB / 1.426 GB, free: 6.938 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004035/0.577, allocations: 346.8 kB / 1.426 GB, free: 6.598 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.5902, allocations: 6.826 MB / 1.433 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05522/0.6454, allocations: 39.35 MB / 1.471 GB, free: 4.688 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.6494, allocations: 2.302 MB / 1.474 GB, free: 2.395 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.6523, allocations: 1.779 MB / 1.475 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.836e-05/0.6524, allocations: 18 kB / 1.475 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.6524, allocations: 52.56 kB / 1.475 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 3.747e-06/0.6525, allocations: 0 / 1.475 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02677/0.6792, allocations: 9.69 MB / 1.485 GB, free: 6.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.6793, allocations: 69.41 kB / 1.485 GB, free: 6.75 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.6816, allocations: 1.53 MB / 1.486 GB, free: 5.176 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.6818, allocations: 57.7 kB / 1.486 GB, free: 5.113 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.6837, allocations: 2.324 MB / 1.489 GB, free: 2.766 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007892/0.6845, allocations: 0.6622 MB / 1.489 GB, free: 2.098 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006864/0.6852, allocations: 408.2 kB / 1.49 GB, free: 1.691 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6853, allocations: 309.1 kB / 1.49 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.6871, allocations: 1.176 MB / 1.491 GB, free: 212 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.6896, allocations: 1.885 MB / 1.493 GB, free: 14 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/0.6945, allocations: 3.375 MB / 1.496 GB, free: 10.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.6945, allocations: 8 kB / 1.496 GB, free: 10.31 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008674/0.7032, allocations: 4.531 MB / 1.501 GB, free: 5.758 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.7033, allocations: 21.19 kB / 1.501 GB, free: 5.738 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.7033, allocations: 24 kB / 1.501 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/0.7077, allocations: 1.58 MB / 1.502 GB, free: 4.125 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.7091, allocations: 351.3 kB / 1.503 GB, free: 3.781 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/0.7358, allocations: 18.19 MB / 1.52 GB, free: 1.133 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.7376, allocations: 119.9 kB / 1.521 GB, free: 1.016 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.7378, allocations: 100 kB / 1.521 GB, free: 0.918 MB / 1.217 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003428/0.7412, allocations: 1.89 MB / 1.523 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.7417, allocations: 234.5 kB / 1.523 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/0.7493, allocations: 4.051 MB / 1.527 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.7493, allocations: 20 kB / 1.527 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.7494, allocations: 16 kB / 1.527 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.7494, allocations: 7.969 kB / 1.527 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.7662, allocations: 9.394 MB / 1.536 GB, free: 1.023 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.7662, allocations: 4 kB / 1.536 GB, free: 1.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.7671, allocations: 183.7 kB / 1.536 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003771/0.7709, allocations: 1.357 MB / 1.537 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.771, allocations: 36.25 kB / 1.537 GB, free: 15.44 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.7951, allocations: 16.96 MB / 1.554 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.7951, allocations: 12.06 kB / 1.554 GB, free: 14.01 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007404/0.8025, allocations: 4.032 MB / 1.558 GB, free: 9.883 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.8038, allocations: 482.3 kB / 1.558 GB, free: 9.41 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.8041, allocations: 36 kB / 1.558 GB, free: 9.375 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/0.805, allocations: 91.83 kB / 1.559 GB, free: 9.285 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/0.8055, allocations: 169.5 kB / 1.559 GB, free: 9.117 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.8056, allocations: 48 kB / 1.559 GB, free: 9.07 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001486/0.8071, allocations: 1.005 MB / 1.56 GB, free: 8.043 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8071, allocations: 0 / 1.56 GB, free: 8.043 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002991/0.8101, allocations: 0.9883 MB / 1.561 GB, free: 7.055 MB / 1.264 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.8104, allocations: 143.9 kB / 1.561 GB, free: 6.902 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007422/0.8178, allocations: 4.182 MB / 1.565 GB, free: 2.668 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8178, allocations: 0 / 1.565 GB, free: 2.668 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00463/0.8224, allocations: 2.572 MB / 1.567 GB, free: 52 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.8259, allocations: 0.7834 MB / 1.568 GB, free: 15.29 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.8407, allocations: 8.857 MB / 1.577 GB, free: 6.348 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/0.8448, allocations: 3.573 MB / 1.58 GB, free: 2.742 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001353/0.8462, allocations: 467.9 kB / 1.581 GB, free: 2.281 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.8465, allocations: 119.4 kB / 1.581 GB, free: 2.164 MB / 1.279 GB Notification: Performance of SimCode: time 7.41e-07/0.8465, allocations: 0 / 1.581 GB, free: 2.164 MB / 1.279 GB Notification: Performance of Templates: time 0.7102/1.557, allocations: 46.82 MB / 1.627 GB, free: 281.7 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 11.05279423482716]