Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001516/0.001516, allocations: 102.9 kB / 16.45 MB, free: 6.457 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.00153/0.00153, allocations: 199.8 kB / 19.41 MB, free: 3.645 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.4 MB / 0.7286 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 71.83 kB / 1.056 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9875/0.9897, allocations: 160.7 MB / 1.213 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04236/1.032, allocations: 33.18 MB / 1.246 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02024/1.052, allocations: 10.38 MB / 1.256 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/1.057, allocations: 151.2 kB / 1.256 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/1.067, allocations: 3.772 MB / 1.26 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/1.075, allocations: 1.944 MB / 1.262 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007533/1.082, allocations: 2.142 MB / 1.264 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.095, allocations: 7.329 MB / 1.271 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/1.112, allocations: 7.049 MB / 1.278 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00674/1.118, allocations: 3.229 MB / 1.281 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007421/1.126, allocations: 3.68 MB / 1.285 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002654/1.129, allocations: 0.6445 MB / 1.285 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006319/1.135, allocations: 1.81 MB / 1.287 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00503/1.14, allocations: 2.619 MB / 1.289 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007369/1.147, allocations: 2.894 MB / 1.292 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.163, allocations: 10.13 MB / 1.302 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.163, allocations: 0 / 1.302 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.163, allocations: 4 kB / 1.302 GB, free: 13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000351/1.164, allocations: 0 / 1.302 GB, free: 13 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01444/1.178, allocations: 5.124 MB / 1.307 GB, free: 7.801 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.178, allocations: 8.625 kB / 1.307 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006493/1.185, allocations: 0.9813 MB / 1.308 GB, free: 6.809 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007122/1.192, allocations: 3.055 MB / 1.311 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/1.192, allocations: 349.7 kB / 1.311 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/1.194, allocations: 464.3 kB / 1.312 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/1.212, allocations: 7.663 MB / 1.319 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/1.212, allocations: 31.77 kB / 1.319 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/1.212, allocations: 204 kB / 1.32 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003816/1.213, allocations: 312.9 kB / 1.32 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/1.225, allocations: 5.706 MB / 1.326 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/1.274, allocations: 34.88 MB / 1.36 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/1.278, allocations: 2.015 MB / 1.362 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/1.28, allocations: 1.12 MB / 1.363 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.312e-05/1.28, allocations: 13.31 kB / 1.363 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.28, allocations: 51.88 kB / 1.363 GB, free: 11.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=133): time 4.218e-06/1.28, allocations: 3.938 kB / 1.363 GB, free: 11.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=136): time 0.01533/1.295, allocations: 7.11 MB / 1.37 GB, free: 3.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.295, allocations: 64.72 kB / 1.37 GB, free: 3.766 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/1.297, allocations: 1.492 MB / 1.371 GB, free: 2.227 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/1.298, allocations: 45.7 kB / 1.371 GB, free: 2.176 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.299, allocations: 2.073 MB / 1.373 GB, free: 84 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/1.3, allocations: 0.4921 MB / 1.374 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005985/1.301, allocations: 355.3 kB / 1.374 GB, free: 15.23 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.301, allocations: 305.1 kB / 1.374 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.302, allocations: 0.9096 MB / 1.375 GB, free: 14.02 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/1.304, allocations: 1.593 MB / 1.377 GB, free: 12.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/1.308, allocations: 2.741 MB / 1.379 GB, free: 9.062 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/1.308, allocations: 4 kB / 1.379 GB, free: 9.059 MB / 1.092 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006637/1.315, allocations: 3.511 MB / 1.383 GB, free: 5.504 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/1.315, allocations: 16 kB / 1.383 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/1.315, allocations: 23.94 kB / 1.383 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/1.318, allocations: 0.9081 MB / 1.384 GB, free: 4.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.319, allocations: 351.3 kB / 1.384 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/1.343, allocations: 23.12 MB / 1.407 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.345, allocations: 108 kB / 1.407 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/1.346, allocations: 83.98 kB / 1.407 GB, free: 11.19 MB / 1.123 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.003298/1.349, allocations: 1.609 MB / 1.408 GB, free: 9.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/1.35, allocations: 218.6 kB / 1.409 GB, free: 9.355 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/1.355, allocations: 2.959 MB / 1.412 GB, free: 6.348 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.355, allocations: 16 kB / 1.412 GB, free: 6.332 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/1.356, allocations: 12 kB / 1.412 GB, free: 6.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.356, allocations: 7.969 kB / 1.412 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.37, allocations: 7.325 MB / 1.419 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.37, allocations: 4 kB / 1.419 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/1.371, allocations: 171.7 kB / 1.419 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.374, allocations: 0.8257 MB / 1.42 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/1.374, allocations: 32 kB / 1.42 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/1.398, allocations: 21.95 MB / 1.441 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.398, allocations: 8.172 kB / 1.441 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.403, allocations: 3.007 MB / 1.444 GB, free: 2.914 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.405, allocations: 483.5 kB / 1.445 GB, free: 2.422 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.405, allocations: 35.89 kB / 1.445 GB, free: 2.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/1.406, allocations: 71.91 kB / 1.445 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/1.406, allocations: 124.7 kB / 1.445 GB, free: 2.195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/1.406, allocations: 36 kB / 1.445 GB, free: 2.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001496/1.408, allocations: 0.9756 MB / 1.446 GB, free: 1.16 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.408, allocations: 0 / 1.446 GB, free: 1.16 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003229/1.411, allocations: 0.7852 MB / 1.447 GB, free: 384 kB / 1.154 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.0003064/1.411, allocations: 147 kB / 1.447 GB, free: 228 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006444/1.418, allocations: 3.914 MB / 1.451 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.418, allocations: 0 / 1.451 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/1.422, allocations: 2.673 MB / 1.453 GB, free: 9.328 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.426, allocations: 0.7363 MB / 1.454 GB, free: 8.617 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.439, allocations: 7.224 MB / 1.461 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003836/1.443, allocations: 3.109 MB / 1.464 GB, free: 14.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001519/1.445, allocations: 457.9 kB / 1.464 GB, free: 13.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.445, allocations: 111.4 kB / 1.465 GB, free: 13.6 MB / 1.186 GB Notification: Performance of SimCode: time 1.262e-06/1.445, allocations: 0 / 1.465 GB, free: 13.6 MB / 1.186 GB Notification: Performance of Templates: time 0.07669/1.522, allocations: 36.66 MB / 1.5 GB, free: 9.32 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.52850525546819]