Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008626/0.0008626, allocations: 79.69 kB / 20.02 MB, free: 4.488 MB / 18.57 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.0009459/0.0009459, allocations: 170 kB / 23.32 MB, free: 1.184 MB / 18.57 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 0.9263/0.9263, allocations: 177.1 MB / 203.6 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.776/1.776, allocations: 388.6 MB / 0.6335 GB, free: 13.07 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 1 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.522e-05, allocations: 4.812 kB / 1 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0233/0.02333, allocations: 32.98 MB / 1.033 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.03611, allocations: 9.874 MB / 1.042 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.03807, allocations: 190.6 kB / 1.042 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4697/0.5078, allocations: 3.829 MB / 1.046 GB, free: 52.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.5126, allocations: 2.209 MB / 1.048 GB, free: 51.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.5162, allocations: 1.979 MB / 1.05 GB, free: 51.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007338/0.5235, allocations: 8.134 MB / 1.058 GB, free: 50.58 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005753/0.5293, allocations: 5.248 MB / 1.063 GB, free: 49.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/0.5349, allocations: 4.896 MB / 1.068 GB, free: 47.44 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.5394, allocations: 3.462 MB / 1.072 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.5407, allocations: 0.6771 MB / 1.072 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.5437, allocations: 1.376 MB / 1.074 GB, free: 46.48 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.5466, allocations: 2.799 MB / 1.076 GB, free: 45.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005299/0.5519, allocations: 2.167 MB / 1.078 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.5654, allocations: 10.57 MB / 1.089 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5654, allocations: 1.281 kB / 1.089 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.397e-06/0.5654, allocations: 0.7031 kB / 1.089 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004103/0.5658, allocations: 0 / 1.089 GB, free: 41.33 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01455/0.5804, allocations: 5.417 MB / 1.094 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5804, allocations: 9.906 kB / 1.094 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.5846, allocations: 0.9959 MB / 1.095 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/0.5911, allocations: 3.132 MB / 1.098 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.5914, allocations: 356.9 kB / 1.098 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.5932, allocations: 474.8 kB / 1.099 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.6114, allocations: 8.661 MB / 1.107 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.6116, allocations: 20.28 kB / 1.107 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.6127, allocations: 211.1 kB / 1.107 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/0.6132, allocations: 372.9 kB / 1.108 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.6257, allocations: 5.927 MB / 1.114 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.6536, allocations: 22.91 MB / 1.136 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.6561, allocations: 1.993 MB / 1.138 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.6575, allocations: 1.333 MB / 1.139 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.6576, allocations: 16.81 kB / 1.139 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.6576, allocations: 51.69 kB / 1.139 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 4.849e-06/0.6576, allocations: 3.938 kB / 1.139 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.009489/0.6671, allocations: 6.655 MB / 1.146 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.6672, allocations: 71.5 kB / 1.146 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6689, allocations: 1.712 MB / 1.148 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.669, allocations: 55.67 kB / 1.148 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.6698, allocations: 2.186 MB / 1.15 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.6701, allocations: 0.5735 MB / 1.15 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.6706, allocations: 402.8 kB / 1.151 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.357e-05/0.6706, allocations: 301.1 kB / 1.151 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.6717, allocations: 1.062 MB / 1.152 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.673, allocations: 1.764 MB / 1.154 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.6755, allocations: 3.051 MB / 1.157 GB, free: 2.879 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.6755, allocations: 6.5 kB / 1.157 GB, free: 2.879 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004298/0.6798, allocations: 3.884 MB / 1.161 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6798, allocations: 13.06 kB / 1.161 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.6798, allocations: 22.91 kB / 1.161 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.6812, allocations: 0.9376 MB / 1.161 GB, free: 432 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.682, allocations: 429 kB / 1.162 GB, free: 352 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.6946, allocations: 21.1 MB / 1.182 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.6971, allocations: 124 kB / 1.183 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6972, allocations: 100.4 kB / 1.183 GB, free: 13.62 MB / 1.026 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003098/0.7003, allocations: 1.646 MB / 1.184 GB, free: 12.62 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/0.7007, allocations: 248 kB / 1.185 GB, free: 12.5 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.7042, allocations: 3.232 MB / 1.188 GB, free: 10.12 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.7042, allocations: 16 kB / 1.188 GB, free: 10.11 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.7042, allocations: 8 kB / 1.188 GB, free: 10.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.7042, allocations: 7.969 kB / 1.188 GB, free: 10.09 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00783/0.712, allocations: 6.439 MB / 1.194 GB, free: 3.613 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.7121, allocations: 4 kB / 1.194 GB, free: 3.609 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.7126, allocations: 214.4 kB / 1.194 GB, free: 3.41 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.7139, allocations: 0.9013 MB / 1.195 GB, free: 2.477 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.714, allocations: 31.94 kB / 1.195 GB, free: 2.445 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.7262, allocations: 21.08 MB / 1.216 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7262, allocations: 7.281 kB / 1.216 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/0.7302, allocations: 3.332 MB / 1.219 GB, free: 8.848 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/0.7311, allocations: 450.2 kB / 1.219 GB, free: 8.406 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7314, allocations: 36 kB / 1.219 GB, free: 8.371 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.732, allocations: 91.88 kB / 1.22 GB, free: 8.281 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.7323, allocations: 155.7 kB / 1.22 GB, free: 8.137 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.7324, allocations: 48 kB / 1.22 GB, free: 8.09 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001119/0.7335, allocations: 1.087 MB / 1.221 GB, free: 6.984 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7335, allocations: 0 / 1.221 GB, free: 6.984 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002944/0.7364, allocations: 0.9023 MB / 1.222 GB, free: 6.082 MB / 1.057 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003073/0.7367, allocations: 158.6 kB / 1.222 GB, free: 5.93 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004608/0.7413, allocations: 4.289 MB / 1.226 GB, free: 1.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7413, allocations: 7.938 kB / 1.226 GB, free: 1.582 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.7439, allocations: 2.897 MB / 1.229 GB, free: 14.53 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.7463, allocations: 0.7518 MB / 1.23 GB, free: 13.8 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.7565, allocations: 7.786 MB / 1.237 GB, free: 5.922 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.7588, allocations: 2.676 MB / 1.24 GB, free: 3.211 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001363/0.7601, allocations: 0.5083 MB / 1.24 GB, free: 2.699 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.7604, allocations: 128.5 kB / 1.24 GB, free: 2.574 MB / 1.073 GB Notification: Performance of SimCode: time 1.203e-06/0.7604, allocations: 0 / 1.24 GB, free: 2.574 MB / 1.073 GB Notification: Performance of Templates: time 0.05069/0.8111, allocations: 42.14 MB / 1.282 GB, free: 9.359 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 6.699989615008235]