Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001406/0.001406, 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.001383/0.001383, 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.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.847/2.847, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9932, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0318/1.025, allocations: 34.27 MB / 1.339 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01628/1.041, allocations: 10.64 MB / 1.349 GB, free: 3.812 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/1.045, allocations: 150.3 kB / 1.349 GB, free: 3.766 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009638/1.054, allocations: 3.863 MB / 1.353 GB, free: 1.496 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006138/1.061, allocations: 1.946 MB / 1.355 GB, free: 312 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/1.068, allocations: 2.198 MB / 1.357 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01306/1.081, allocations: 7.329 MB / 1.364 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01327/1.094, allocations: 4.817 MB / 1.369 GB, free: 9.297 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/1.102, allocations: 3.231 MB / 1.372 GB, free: 7.793 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008802/1.11, allocations: 3.68 MB / 1.376 GB, free: 6.242 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003156/1.113, allocations: 0.6448 MB / 1.377 GB, free: 6.242 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/1.12, allocations: 1.811 MB / 1.378 GB, free: 5.789 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006555/1.127, allocations: 2.613 MB / 1.381 GB, free: 4.664 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009475/1.136, allocations: 2.898 MB / 1.384 GB, free: 2.777 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02154/1.158, allocations: 10.13 MB / 1.394 GB, free: 15.56 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.158, allocations: 1.938 kB / 1.394 GB, free: 15.56 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.464e-06/1.158, allocations: 0 / 1.394 GB, free: 15.56 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005644/1.158, allocations: 3.938 kB / 1.394 GB, free: 15.55 MB / 1.092 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.01964/1.178, allocations: 5.13 MB / 1.399 GB, free: 12.41 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.178, allocations: 8.656 kB / 1.399 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/1.186, allocations: 0.9714 MB / 1.4 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008143/1.194, allocations: 3.058 MB / 1.403 GB, free: 9.926 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003985/1.194, allocations: 349.7 kB / 1.403 GB, free: 9.766 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/1.197, allocations: 465.7 kB / 1.403 GB, free: 9.605 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/1.217, allocations: 7.669 MB / 1.411 GB, free: 4.785 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/1.217, allocations: 24.75 kB / 1.411 GB, free: 4.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/1.218, allocations: 200.8 kB / 1.411 GB, free: 4.621 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004101/1.219, allocations: 311.4 kB / 1.411 GB, free: 4.551 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.234, allocations: 5.712 MB / 1.417 GB, free: 1.602 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/1.28, allocations: 34.88 MB / 1.451 GB, free: 120 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/1.283, allocations: 2.013 MB / 1.453 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/1.285, allocations: 1.121 MB / 1.454 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/1.285, allocations: 21.25 kB / 1.454 GB, free: 12.85 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.285, allocations: 43.88 kB / 1.454 GB, free: 12.8 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 2.925e-06/1.285, allocations: 0 / 1.454 GB, free: 12.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=136): time 0.01494/1.3, allocations: 7.118 MB / 1.461 GB, free: 5.414 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.3, allocations: 64.72 kB / 1.461 GB, free: 5.34 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/1.303, allocations: 1.488 MB / 1.463 GB, free: 3.805 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.303, allocations: 57.69 kB / 1.463 GB, free: 3.742 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.304, allocations: 2.065 MB / 1.465 GB, free: 1.656 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/1.305, allocations: 0.4958 MB / 1.465 GB, free: 1.156 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005958/1.306, allocations: 355.3 kB / 1.465 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.306, allocations: 305.1 kB / 1.466 GB, free: 0.5 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.307, allocations: 0.9135 MB / 1.467 GB, free: 15.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.309, allocations: 1.585 MB / 1.468 GB, free: 13.69 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.313, allocations: 2.745 MB / 1.471 GB, free: 10.63 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/1.313, allocations: 4 kB / 1.471 GB, free: 10.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006488/1.319, allocations: 3.508 MB / 1.474 GB, free: 7.074 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.319, allocations: 16 kB / 1.474 GB, free: 7.059 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/1.319, allocations: 24.09 kB / 1.474 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/1.322, allocations: 0.9037 MB / 1.475 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.323, allocations: 347.4 kB / 1.476 GB, free: 5.754 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/1.347, allocations: 23.12 MB / 1.498 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.349, allocations: 108 kB / 1.498 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/1.35, allocations: 80 kB / 1.498 GB, free: 12.78 MB / 1.186 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.00365/1.353, allocations: 1.616 MB / 1.5 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.354, allocations: 218.6 kB / 1.5 GB, free: 10.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005671/1.36, allocations: 2.963 MB / 1.503 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.36, allocations: 12 kB / 1.503 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/1.36, allocations: 11.94 kB / 1.503 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.36, allocations: 11.97 kB / 1.503 GB, free: 7.895 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.374, allocations: 7.317 MB / 1.51 GB, free: 348 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.374, allocations: 4 kB / 1.51 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.375, allocations: 175.7 kB / 1.51 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/1.377, allocations: 0.8303 MB / 1.511 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.377, allocations: 32 kB / 1.511 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/1.399, allocations: 21.96 MB / 1.533 GB, free: 7.625 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.399, allocations: 7.938 kB / 1.533 GB, free: 7.617 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/1.405, allocations: 3.007 MB / 1.536 GB, free: 4.496 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.406, allocations: 471.6 kB / 1.536 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.406, allocations: 31.94 kB / 1.536 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/1.407, allocations: 71.91 kB / 1.536 GB, free: 3.914 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/1.407, allocations: 128.7 kB / 1.536 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/1.407, allocations: 36 kB / 1.536 GB, free: 3.754 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001388/1.409, allocations: 0.9756 MB / 1.537 GB, free: 2.754 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/1.409, allocations: 0 / 1.537 GB, free: 2.754 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002908/1.412, allocations: 0.7969 MB / 1.538 GB, free: 1.957 MB / 1.217 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.0002494/1.412, allocations: 146.9 kB / 1.538 GB, free: 1.805 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006026/1.418, allocations: 3.906 MB / 1.542 GB, free: 13.75 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.418, allocations: 0 / 1.542 GB, free: 13.75 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003808/1.422, allocations: 2.674 MB / 1.545 GB, free: 10.91 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/1.425, allocations: 0.7301 MB / 1.545 GB, free: 10.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.44, allocations: 7.353 MB / 1.552 GB, free: 2.762 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004093/1.444, allocations: 3.109 MB / 1.555 GB, free: 15.62 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001418/1.446, allocations: 454 kB / 1.556 GB, free: 15.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/1.446, allocations: 119.4 kB / 1.556 GB, free: 15.06 MB / 1.248 GB Notification: Performance of SimCode: time 1.363e-06/1.446, allocations: 0 / 1.556 GB, free: 15.06 MB / 1.248 GB Notification: Performance of Templates: time 0.06873/1.515, allocations: 37.34 MB / 1.592 GB, free: 10.12 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.408206368796527]