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.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.002522/0.002522, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003058/0.003058, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.347/3.347, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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_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 1.493e-06/1.493e-06, allocations: 0 / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.733e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04643/0.04645, allocations: 32.83 MB / 0.9095 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.06647, allocations: 10.49 MB / 0.9198 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.06942, allocations: 190.6 kB / 0.92 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.08022, allocations: 3.854 MB / 0.9237 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005937/0.08616, allocations: 2 MB / 0.9257 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.09164, allocations: 2.162 MB / 0.9278 GB, free: 3.012 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.1018, allocations: 7.465 MB / 0.9351 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008511/0.1103, allocations: 5.128 MB / 0.9401 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007846/0.1182, allocations: 4.643 MB / 0.9446 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005848/0.124, allocations: 3.476 MB / 0.948 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.1253, allocations: 0.6445 MB / 0.9486 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.1291, allocations: 1.676 MB / 0.9503 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003369/0.1325, allocations: 2.771 MB / 0.953 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.136, allocations: 2.039 MB / 0.955 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.1498, allocations: 10.37 MB / 0.9651 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1498, allocations: 0 / 0.9651 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1498, allocations: 0 / 0.9651 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002363/0.15, allocations: 0 / 0.9651 GB, free: 12.58 MB / 0.9323 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.01208/0.1621, allocations: 5.789 MB / 0.9708 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1621, allocations: 11.97 kB / 0.9708 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.1683, allocations: 1.562 MB / 0.9723 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006848/0.1752, allocations: 2.974 MB / 0.9752 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.1755, allocations: 353.7 kB / 0.9755 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000824/0.1763, allocations: 468.3 kB / 0.976 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.1867, allocations: 5.319 MB / 0.9812 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.1869, allocations: 36 kB / 0.9812 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004938/0.1874, allocations: 204.3 kB / 0.9814 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003917/0.1877, allocations: 308.9 kB / 0.9817 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.1931, allocations: 1.967 MB / 0.9836 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/0.2337, allocations: 30.05 MB / 1.013 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.2357, allocations: 0.8435 MB / 1.014 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2367, allocations: 0.5387 MB / 1.014 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.923e-05/0.2368, allocations: 25.3 kB / 1.014 GB, free: 8.523 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.2369, allocations: 58.64 kB / 1.014 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=133): time 3.336e-06/0.2369, allocations: 0 / 1.014 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136): time 0.01208/0.249, allocations: 4.035 MB / 1.018 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.249, allocations: 64.72 kB / 1.018 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.2518, allocations: 1.846 MB / 1.02 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.2519, allocations: 49.64 kB / 1.02 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.2537, allocations: 2.217 MB / 1.022 GB, free: 148 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/0.2543, allocations: 0.5388 MB / 1.023 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/0.255, allocations: 429 kB / 1.023 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.2552, allocations: 480.7 kB / 1.024 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.2561, allocations: 423.8 kB / 1.024 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.258, allocations: 1.458 MB / 1.026 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.2612, allocations: 2.028 MB / 1.028 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.2612, allocations: 12 kB / 1.028 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005402/0.2666, allocations: 2.436 MB / 1.03 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.2666, allocations: 18.25 kB / 1.03 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.2667, allocations: 24 kB / 1.03 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.2698, allocations: 0.7964 MB / 1.031 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.271, allocations: 355.3 kB / 1.031 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4672/0.7382, allocations: 24.65 MB / 1.055 GB, free: 186.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.7409, allocations: 103.5 kB / 1.055 GB, free: 186.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004041/0.7413, allocations: 83.19 kB / 1.055 GB, free: 186.6 MB / 1.01 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.001957/0.7433, allocations: 410.2 kB / 1.056 GB, free: 186.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007971/0.7441, allocations: 249.7 kB / 1.056 GB, free: 186.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007283/0.7513, allocations: 1.798 MB / 1.058 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.7514, allocations: 14.31 kB / 1.058 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/0.7514, allocations: 10 kB / 1.058 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.7514, allocations: 9.75 kB / 1.058 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.7719, allocations: 6.213 MB / 1.064 GB, free: 185.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/0.7719, allocations: 5.031 kB / 1.064 GB, free: 185.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.7736, allocations: 179.1 kB / 1.064 GB, free: 185.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005018/0.7786, allocations: 0.7332 MB / 1.065 GB, free: 185.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.7788, allocations: 34.34 kB / 1.065 GB, free: 185.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.8017, allocations: 23.55 MB / 1.088 GB, free: 164.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.8017, allocations: 5.531 kB / 1.088 GB, free: 164.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.8086, allocations: 2.092 MB / 1.09 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.8101, allocations: 360.8 kB / 1.09 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.8105, allocations: 27.84 kB / 1.09 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.8119, allocations: 70.75 kB / 1.09 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/0.8125, allocations: 131.7 kB / 1.09 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.8126, allocations: 34.16 kB / 1.09 GB, free: 163 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001986/0.8146, allocations: 1.018 MB / 1.091 GB, free: 162.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8146, allocations: 0 / 1.091 GB, free: 162.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004423/0.8191, allocations: 0.7994 MB / 1.092 GB, free: 162.5 MB / 1.01 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.0002957/0.8193, allocations: 138.2 kB / 1.092 GB, free: 162.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006834/0.8262, allocations: 3.785 MB / 1.096 GB, free: 159.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.8262, allocations: 0 / 1.096 GB, free: 159.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/0.831, allocations: 2.979 MB / 1.099 GB, free: 157.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/0.8357, allocations: 0.7196 MB / 1.1 GB, free: 157.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.8516, allocations: 6.717 MB / 1.106 GB, free: 153.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004491/0.8561, allocations: 2.287 MB / 1.108 GB, free: 153 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002124/0.8582, allocations: 372.6 kB / 1.109 GB, free: 152.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.8587, allocations: 111.7 kB / 1.109 GB, free: 152.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.553e-06/0.8587, allocations: 0.875 kB / 1.109 GB, free: 152.9 MB / 1.01 GB Notification: Performance of Templates: time 0.06389/0.9226, allocations: 36.59 MB / 1.145 GB, free: 145.3 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] 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.148994948947802]