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.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.00174/0.00174, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00222/0.00222, allocations: 174.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.885/2.885, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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_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 2.354e-06/2.354e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.527e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04555/0.04557, allocations: 33.01 MB / 1.032 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.06651, allocations: 11.36 MB / 1.043 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.0698, allocations: 210.4 kB / 1.044 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.08194, allocations: 4.285 MB / 1.048 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00628/0.08822, allocations: 2.144 MB / 1.05 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/0.09526, allocations: 2.429 MB / 1.052 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01247/0.1077, allocations: 8.607 MB / 1.061 GB, free: 9.031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.1209, allocations: 6.201 MB / 1.067 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.1339, allocations: 5.399 MB / 1.072 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.1415, allocations: 3.901 MB / 1.076 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.144, allocations: 0.7773 MB / 1.077 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.1495, allocations: 1.93 MB / 1.079 GB, free: 6.676 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0055/0.155, allocations: 3.278 MB / 1.082 GB, free: 3.391 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006132/0.1611, allocations: 2.374 MB / 1.084 GB, free: 1.012 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.1787, allocations: 12.24 MB / 1.096 GB, free: 4.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.1787, allocations: 4 kB / 1.096 GB, free: 4.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1787, allocations: 0 / 1.096 GB, free: 4.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003573/0.1791, allocations: 0 / 1.096 GB, free: 4.738 MB / 1.045 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.01616/0.1953, allocations: 5.805 MB / 1.102 GB, free: 14.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1953, allocations: 12.03 kB / 1.102 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007252/0.2026, allocations: 1.094 MB / 1.103 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008352/0.2109, allocations: 3.422 MB / 1.106 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/0.2115, allocations: 419.5 kB / 1.106 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/0.2148, allocations: 0.5393 MB / 1.107 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.2378, allocations: 9.377 MB / 1.116 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/0.2381, allocations: 31.91 kB / 1.116 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.2396, allocations: 240.3 kB / 1.116 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.2401, allocations: 350.7 kB / 1.117 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.2557, allocations: 6.822 MB / 1.123 GB, free: 8.113 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5218/0.7775, allocations: 24.21 MB / 1.147 GB, free: 142.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.7803, allocations: 2.294 MB / 1.149 GB, free: 141.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.7822, allocations: 1.769 MB / 1.151 GB, free: 140.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.7823, allocations: 28.06 kB / 1.151 GB, free: 140.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.7824, allocations: 53.47 kB / 1.151 GB, free: 140.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 4.198e-06/0.7824, allocations: 0 / 1.151 GB, free: 140.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02272/0.8051, allocations: 9.667 MB / 1.161 GB, free: 137.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.8051, allocations: 72.78 kB / 1.161 GB, free: 137.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.8067, allocations: 1.451 MB / 1.162 GB, free: 136.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.8069, allocations: 50.95 kB / 1.162 GB, free: 136.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009755/0.8078, allocations: 2.317 MB / 1.164 GB, free: 135.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.8082, allocations: 0.6538 MB / 1.165 GB, free: 135 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.8088, allocations: 403.3 kB / 1.165 GB, free: 134.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.8088, allocations: 304.5 kB / 1.166 GB, free: 134.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.8102, allocations: 1.173 MB / 1.167 GB, free: 134 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.8119, allocations: 1.886 MB / 1.169 GB, free: 132.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003926/0.8158, allocations: 3.368 MB / 1.172 GB, free: 130.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.8158, allocations: 5.719 kB / 1.172 GB, free: 130.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007384/0.8232, allocations: 4.532 MB / 1.176 GB, free: 128.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.8233, allocations: 14.72 kB / 1.176 GB, free: 128.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.8233, allocations: 26.2 kB / 1.176 GB, free: 128.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.827, allocations: 1.578 MB / 1.178 GB, free: 128.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8283, allocations: 357.3 kB / 1.178 GB, free: 128.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.8493, allocations: 17.81 MB / 1.196 GB, free: 117.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.8511, allocations: 118.4 kB / 1.196 GB, free: 117.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.8513, allocations: 93.81 kB / 1.196 GB, free: 117.9 MB / 1.076 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.002815/0.8541, allocations: 1.901 MB / 1.198 GB, free: 117.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.8546, allocations: 224.2 kB / 1.198 GB, free: 116.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/0.8614, allocations: 4.035 MB / 1.202 GB, free: 115.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.8614, allocations: 18.83 kB / 1.202 GB, free: 115.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.8614, allocations: 16.44 kB / 1.202 GB, free: 115.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.8614, allocations: 14 kB / 1.202 GB, free: 115.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8748, allocations: 7.84 MB / 1.21 GB, free: 112.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.8748, allocations: 5.953 kB / 1.21 GB, free: 112.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.8757, allocations: 186.7 kB / 1.21 GB, free: 112.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/0.8793, allocations: 1.347 MB / 1.211 GB, free: 111.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.8795, allocations: 39.73 kB / 1.211 GB, free: 111.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.8995, allocations: 16.6 MB / 1.227 GB, free: 101.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8995, allocations: 5.781 kB / 1.227 GB, free: 101.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/0.906, allocations: 4.02 MB / 1.231 GB, free: 100.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.9071, allocations: 464.7 kB / 1.232 GB, free: 99.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.9074, allocations: 49.28 kB / 1.232 GB, free: 99.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.9084, allocations: 83.55 kB / 1.232 GB, free: 99.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.909, allocations: 175.4 kB / 1.232 GB, free: 99.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.9091, allocations: 47.73 kB / 1.232 GB, free: 99.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001272/0.9104, allocations: 0.9214 MB / 1.233 GB, free: 99.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9104, allocations: 0 / 1.233 GB, free: 99.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003113/0.9135, allocations: 0.9845 MB / 1.234 GB, free: 99.31 MB / 1.076 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.0002913/0.9138, allocations: 147.5 kB / 1.234 GB, free: 99.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006093/0.9199, allocations: 4.143 MB / 1.238 GB, free: 97.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.9199, allocations: 0 / 1.238 GB, free: 97.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.9238, allocations: 2.578 MB / 1.241 GB, free: 96.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.9272, allocations: 0.7846 MB / 1.241 GB, free: 95.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.9394, allocations: 8.831 MB / 1.25 GB, free: 88.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.9424, allocations: 3.039 MB / 1.253 GB, free: 85.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001177/0.9436, allocations: 451.1 kB / 1.253 GB, free: 85.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.9438, allocations: 112.5 kB / 1.254 GB, free: 85.08 MB / 1.076 GB Notification: Performance of SimCode: time 1.272e-06/0.9438, allocations: 4 kB / 1.254 GB, free: 85.07 MB / 1.076 GB Notification: Performance of Templates: time 0.06011/1.004, allocations: 44.48 MB / 1.297 GB, free: 41.35 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.912080738693476]