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.001113/0.001113, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001135/0.001135, allocations: 173 kB / 23.49 MB, free: 1.059 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.9361/0.9361, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.991/1.991, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",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.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.253e-05, allocations: 7.344 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0297/0.02972, allocations: 35.35 MB / 0.9127 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.04638, allocations: 11.79 MB / 0.9242 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.04901, allocations: 210.4 kB / 0.9244 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.05473, allocations: 4.395 MB / 0.9287 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.05879, allocations: 2.148 MB / 0.9308 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.06338, allocations: 2.431 MB / 0.9332 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007311/0.07069, allocations: 8.611 MB / 0.9416 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007127/0.07782, allocations: 6.202 MB / 0.9477 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007389/0.08521, allocations: 5.446 MB / 0.953 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.09025, allocations: 4.194 MB / 0.9571 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.09126, allocations: 0.7812 MB / 0.9579 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.09451, allocations: 1.93 MB / 0.9597 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.09727, allocations: 3.333 MB / 0.963 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.09948, allocations: 2.402 MB / 0.9653 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.1058, allocations: 6.666 MB / 0.9718 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1058, allocations: 0 / 0.9718 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1058, allocations: 0 / 0.9718 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.661e-05/0.1059, allocations: 0 / 0.9718 GB, free: 6.383 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.006542/0.1124, allocations: 6.173 MB / 0.9779 GB, free: 140 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1125, allocations: 12.03 kB / 0.9779 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.1164, allocations: 1.768 MB / 0.9796 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/0.1206, allocations: 3.342 MB / 0.9829 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.1208, allocations: 419.5 kB / 0.9833 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/0.1214, allocations: 0.5393 MB / 0.9838 GB, free: 9.992 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007319/0.1287, allocations: 5.468 MB / 0.9891 GB, free: 4.023 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.1288, allocations: 31.97 kB / 0.9892 GB, free: 3.992 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003828/0.1292, allocations: 240.3 kB / 0.9894 GB, free: 3.758 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.1295, allocations: 350.7 kB / 0.9897 GB, free: 3.414 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.1333, allocations: 2.042 MB / 0.9917 GB, free: 1.363 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02377/0.1571, allocations: 27.01 MB / 1.018 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.1588, allocations: 1.262 MB / 1.019 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.1599, allocations: 0.8765 MB / 1.02 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.16, allocations: 34 kB / 1.02 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.16, allocations: 51.39 kB / 1.02 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=179): time 4.949e-06/0.16, allocations: 4 kB / 1.02 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182): time 0.01343/0.1735, allocations: 6.293 MB / 1.026 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1735, allocations: 73.41 kB / 1.026 GB, free: 13 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.1747, allocations: 1.358 MB / 1.028 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.1748, allocations: 53.7 kB / 1.028 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.1759, allocations: 2.37 MB / 1.03 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.1764, allocations: 0.678 MB / 1.031 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.1768, allocations: 422.1 kB / 1.031 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1769, allocations: 480.7 kB / 1.032 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.178, allocations: 396.2 kB / 1.032 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.1791, allocations: 1.403 MB / 1.033 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.181, allocations: 1.972 MB / 1.035 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.181, allocations: 8 kB / 1.035 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003594/0.1846, allocations: 2.622 MB / 1.038 GB, free: 332 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.1852, allocations: 26.47 kB / 1.038 GB, free: 308 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.1852, allocations: 24 kB / 1.038 GB, free: 284 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.1877, allocations: 1.222 MB / 1.039 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.1883, allocations: 347.4 kB / 1.04 GB, free: 14.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.2001, allocations: 12.66 MB / 1.052 GB, free: 1.574 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.2009, allocations: 115.9 kB / 1.052 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.2014, allocations: 104 kB / 1.052 GB, free: 1.359 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 (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.001337/0.2028, allocations: 299.8 kB / 1.052 GB, free: 1.055 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.203, allocations: 282.6 kB / 1.053 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6209/0.8239, allocations: 2.118 MB / 1.055 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.8239, allocations: 18.72 kB / 1.055 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/0.824, allocations: 19.69 kB / 1.055 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.824, allocations: 7.141 kB / 1.055 GB, free: 198.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009832/0.8338, allocations: 5.969 MB / 1.061 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.8338, allocations: 5.812 kB / 1.061 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.8343, allocations: 182.4 kB / 1.061 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/0.8364, allocations: 1.008 MB / 1.062 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/0.8365, allocations: 32.19 kB / 1.062 GB, free: 197.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009572/0.8461, allocations: 11.88 MB / 1.073 GB, free: 190.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.8461, allocations: 5.938 kB / 1.073 GB, free: 190.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.8493, allocations: 2.369 MB / 1.076 GB, free: 189.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.8499, allocations: 426.7 kB / 1.076 GB, free: 189 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.8501, allocations: 51.47 kB / 1.076 GB, free: 189 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.8506, allocations: 84.89 kB / 1.076 GB, free: 188.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/0.851, allocations: 167.4 kB / 1.076 GB, free: 188.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.8511, allocations: 53.47 kB / 1.076 GB, free: 188.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007889/0.8518, allocations: 0.7753 MB / 1.077 GB, free: 188.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8518, allocations: 0 / 1.077 GB, free: 188.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003332/0.8552, allocations: 0.9959 MB / 1.078 GB, free: 188.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 (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.0002773/0.8554, allocations: 139 kB / 1.078 GB, free: 188.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.8593, allocations: 2.974 MB / 1.081 GB, free: 187 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8593, allocations: 2.719 kB / 1.081 GB, free: 187 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.8614, allocations: 2.174 MB / 1.083 GB, free: 185.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.8636, allocations: 0.7652 MB / 1.084 GB, free: 185.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8783, allocations: 7.81 MB / 1.092 GB, free: 181.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.8799, allocations: 1.357 MB / 1.093 GB, free: 181.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00116/0.8811, allocations: 384.8 kB / 1.093 GB, free: 181.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.8814, allocations: 112 kB / 1.094 GB, free: 181.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.335e-06/0.8814, allocations: 0 / 1.094 GB, free: 181.2 MB / 1.01 GB Notification: Performance of Templates: time 0.07591/0.9573, allocations: 45.04 MB / 1.138 GB, free: 168.4 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.232204096857458]