Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001734/0.001734, allocations: 112.6 kB / 17.08 MB, free: 5.941 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.001817/0.001817, allocations: 194.2 kB / 20.03 MB, free: 3.027 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.55/1.55, allocations: 222.9 MB / 245.7 MB, free: 4.188 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 3.279/3.279, allocations: 489.3 MB / 0.7687 GB, free: 3.715 MB / 0.6075 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 63.89 kB / 1.103 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04452/1.154, allocations: 34.84 MB / 1.297 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02351/1.178, allocations: 11.5 MB / 1.308 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005323/1.183, allocations: 164.3 kB / 1.308 GB, free: 8.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01323/1.197, allocations: 4.25 MB / 1.312 GB, free: 6.156 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009097/1.206, allocations: 1.994 MB / 1.314 GB, free: 4.941 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009438/1.215, allocations: 2.404 MB / 1.316 GB, free: 3.586 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0158/1.231, allocations: 8.466 MB / 1.325 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02425/1.255, allocations: 11.12 MB / 1.336 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/1.266, allocations: 3.742 MB / 1.339 GB, free: 9.555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/1.276, allocations: 4.182 MB / 1.343 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.004258/1.28, allocations: 0.7798 MB / 1.344 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009295/1.29, allocations: 2.026 MB / 1.346 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.008596/1.298, allocations: 3.054 MB / 1.349 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01333/1.312, allocations: 3.398 MB / 1.352 GB, free: 3.746 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02592/1.338, allocations: 12.02 MB / 1.364 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/1.338, allocations: 0 / 1.364 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.976e-06/1.338, allocations: 3.938 kB / 1.364 GB, free: 11.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0006174/1.338, allocations: 0 / 1.364 GB, free: 11.35 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02599/1.364, allocations: 5.943 MB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.365, allocations: 8.312 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/1.374, allocations: 1.092 MB / 1.371 GB, free: 6.797 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009882/1.384, allocations: 3.468 MB / 1.374 GB, free: 4.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/1.384, allocations: 418.1 kB / 1.375 GB, free: 4.379 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/1.387, allocations: 0.5303 MB / 1.375 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/1.415, allocations: 9.088 MB / 1.384 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002799/1.415, allocations: 35.7 kB / 1.384 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002516/1.418, allocations: 239.9 kB / 1.384 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004448/1.418, allocations: 354.7 kB / 1.385 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/1.436, allocations: 6.826 MB / 1.391 GB, free: 3.988 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05763/1.494, allocations: 39.86 MB / 1.43 GB, free: 8.422 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/1.498, allocations: 3.116 MB / 1.433 GB, free: 5.164 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/1.501, allocations: 1.982 MB / 1.435 GB, free: 3.188 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.502, allocations: 18 kB / 1.435 GB, free: 3.168 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/1.502, allocations: 56.55 kB / 1.435 GB, free: 3.105 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 3.386e-06/1.502, allocations: 0 / 1.435 GB, free: 3.105 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02725/1.529, allocations: 10.05 MB / 1.445 GB, free: 8.969 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.529, allocations: 73.41 kB / 1.445 GB, free: 8.883 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/1.531, allocations: 1.526 MB / 1.447 GB, free: 7.312 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/1.532, allocations: 53.7 kB / 1.447 GB, free: 7.254 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.534, allocations: 2.331 MB / 1.449 GB, free: 4.898 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/1.534, allocations: 0.6584 MB / 1.45 GB, free: 4.234 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006794/1.535, allocations: 408.1 kB / 1.45 GB, free: 3.828 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.535, allocations: 309.1 kB / 1.45 GB, free: 3.523 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.537, allocations: 1.179 MB / 1.452 GB, free: 2.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/1.539, allocations: 1.885 MB / 1.453 GB, free: 140 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/1.544, allocations: 3.371 MB / 1.457 GB, free: 12.46 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.544, allocations: 4 kB / 1.457 GB, free: 12.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008515/1.553, allocations: 4.589 MB / 1.461 GB, free: 7.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/1.553, allocations: 20.91 kB / 1.461 GB, free: 7.82 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.553, allocations: 24 kB / 1.461 GB, free: 7.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/1.557, allocations: 1.581 MB / 1.463 GB, free: 6.207 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.558, allocations: 355.3 kB / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/1.584, allocations: 18.59 MB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.586, allocations: 119.9 kB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/1.586, allocations: 99.98 kB / 1.481 GB, free: 2.496 MB / 1.17 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.003955/1.59, allocations: 1.898 MB / 1.483 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000585/1.591, allocations: 234.5 kB / 1.484 GB, free: 368 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/1.598, allocations: 4.098 MB / 1.488 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.598, allocations: 20 kB / 1.488 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/1.598, allocations: 20 kB / 1.488 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/1.598, allocations: 8.078 kB / 1.488 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/1.616, allocations: 9.461 MB / 1.497 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.616, allocations: 8 kB / 1.497 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/1.617, allocations: 179.7 kB / 1.497 GB, free: 2.289 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/1.62, allocations: 1.363 MB / 1.498 GB, free: 0.918 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.621, allocations: 36.25 kB / 1.498 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/1.645, allocations: 17.37 MB / 1.515 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.645, allocations: 4 kB / 1.515 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/1.652, allocations: 4.083 MB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.654, allocations: 0.5424 MB / 1.52 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/1.654, allocations: 36 kB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.655, allocations: 87.89 kB / 1.52 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/1.656, allocations: 165.7 kB / 1.52 GB, free: 9.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.656, allocations: 52 kB / 1.52 GB, free: 9.871 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001534/1.657, allocations: 0.9929 MB / 1.521 GB, free: 8.855 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.9e-07/1.657, allocations: 4 kB / 1.521 GB, free: 8.852 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003869/1.661, allocations: 0.9883 MB / 1.522 GB, free: 7.863 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 (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.0003558/1.662, allocations: 147 kB / 1.522 GB, free: 7.711 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00771/1.669, allocations: 4.316 MB / 1.526 GB, free: 3.352 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.67, allocations: 0 / 1.526 GB, free: 3.352 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004862/1.674, allocations: 2.677 MB / 1.529 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.678, allocations: 0.7704 MB / 1.53 GB, free: 15.87 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.698, allocations: 9.505 MB / 1.539 GB, free: 6.273 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005875/1.704, allocations: 3.666 MB / 1.543 GB, free: 2.574 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/1.705, allocations: 131.4 kB / 1.543 GB, free: 2.445 MB / 1.232 GB Notification: Performance of SimCode: time 3.186e-06/1.705, allocations: 0 / 1.543 GB, free: 2.445 MB / 1.232 GB Notification: Performance of Templates: time 0.2184/1.923, allocations: 159.7 MB / 1.699 GB, free: 2.75 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.093357357895]