Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001053/0.001053, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001041/0.001041, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9864/0.9864, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.848/1.848, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.371e-05, allocations: 3.031 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01059/0.01062, allocations: 6.943 MB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006796/0.01742, allocations: 3.131 MB / 0.8214 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.01833, allocations: 35.69 kB / 0.8214 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.02113, allocations: 0.9765 MB / 0.8223 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.02292, allocations: 0.5333 MB / 0.8229 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.02429, allocations: 449.8 kB / 0.8233 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.02616, allocations: 1.275 MB / 0.8245 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.02724, allocations: 0.5295 MB / 0.8251 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.02845, allocations: 0.667 MB / 0.8257 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008717/0.02932, allocations: 479.3 kB / 0.8262 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.02947, allocations: 70.97 kB / 0.8262 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.03028, allocations: 347.1 kB / 0.8266 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.03063, allocations: 339 kB / 0.8269 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.03113, allocations: 311.3 kB / 0.8272 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.033, allocations: 0.872 MB / 0.828 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.03301, allocations: 0 / 0.828 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.03301, allocations: 0 / 0.828 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.03304, allocations: 0 / 0.828 GB, free: 1.133 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002105/0.03514, allocations: 1.227 MB / 0.8292 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.03519, allocations: 9.156 kB / 0.8292 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.03652, allocations: 344.9 kB / 0.8296 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.03753, allocations: 0.5699 MB / 0.8301 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.03758, allocations: 49.67 kB / 0.8302 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.0377, allocations: 74.05 kB / 0.8302 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.03909, allocations: 1.077 MB / 0.8313 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.03912, allocations: 192 / 0.8313 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.03921, allocations: 36.36 kB / 0.8313 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.03938, allocations: 93.12 kB / 0.8314 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.04018, allocations: 358.4 kB / 0.8318 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007724/0.04791, allocations: 5.706 MB / 0.8373 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.04869, allocations: 285.6 kB / 0.8376 GB, free: 6.863 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.04897, allocations: 140.6 kB / 0.8377 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.049, allocations: 8.5 kB / 0.8377 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.04904, allocations: 49.83 kB / 0.8378 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/0.04905, allocations: 0 / 0.8378 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.003003/0.05205, allocations: 1.084 MB / 0.8389 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.05209, allocations: 59.84 kB / 0.8389 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.05271, allocations: 0.5336 MB / 0.8394 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.05275, allocations: 33.7 kB / 0.8395 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.05334, allocations: 482.5 kB / 0.8399 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.0535, allocations: 182.5 kB / 0.8401 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.05371, allocations: 124.3 kB / 0.8402 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.05392, allocations: 0.543 MB / 0.8407 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.05423, allocations: 121.9 kB / 0.8409 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.05471, allocations: 420.7 kB / 0.8413 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.05555, allocations: 0.5819 MB / 0.8418 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.05556, allocations: 8 kB / 0.8418 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001682/0.05724, allocations: 0.741 MB / 0.8426 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.05727, allocations: 8 kB / 0.8426 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.05729, allocations: 8 kB / 0.8426 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.05859, allocations: 303.2 kB / 0.8429 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.05905, allocations: 131.7 kB / 0.843 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.06549, allocations: 7.615 MB / 0.8504 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.06614, allocations: 31.97 kB / 0.8505 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.06622, allocations: 35.94 kB / 0.8505 GB, free: 8.773 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003146/0.06653, allocations: 200.3 kB / 0.8507 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.06668, allocations: 83.58 kB / 0.8508 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.0679, allocations: 0.5494 MB / 0.8513 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.06791, allocations: 4 kB / 0.8513 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.06792, allocations: 4 kB / 0.8513 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.06792, allocations: 3.984 kB / 0.8513 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.0701, allocations: 1.173 MB / 0.8525 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.07011, allocations: 7.984 kB / 0.8525 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.07036, allocations: 59.89 kB / 0.8525 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.07154, allocations: 298.6 kB / 0.8528 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.07158, allocations: 12 kB / 0.8528 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006629/0.07821, allocations: 7.596 MB / 0.8602 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.07821, allocations: 4 kB / 0.8602 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.0796, allocations: 0.729 MB / 0.861 GB, free: 13.37 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.0799, allocations: 107.5 kB / 0.8611 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.808e-05/0.07998, allocations: 11.95 kB / 0.8611 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.08035, allocations: 35.91 kB / 0.8611 GB, free: 13.22 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.08047, allocations: 47.86 kB / 0.8611 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.08051, allocations: 16.11 kB / 0.8612 GB, free: 13.16 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004137/0.08092, allocations: 338.8 kB / 0.8615 GB, free: 12.83 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.08092, allocations: 4 kB / 0.8615 GB, free: 12.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001047/0.08197, allocations: 228 kB / 0.8617 GB, free: 12.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001881/0.08215, allocations: 115.2 kB / 0.8618 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.08402, allocations: 1.194 MB / 0.863 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.08403, allocations: 0 / 0.863 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.08515, allocations: 0.9724 MB / 0.8639 GB, free: 10.17 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.08615, allocations: 194 kB / 0.8641 GB, free: 9.984 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.08905, allocations: 1.285 MB / 0.8654 GB, free: 8.633 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.08929, allocations: 207.4 kB / 0.8656 GB, free: 8.41 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.08967, allocations: 97.53 kB / 0.8657 GB, free: 8.312 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.08979, allocations: 36.5 kB / 0.8657 GB, free: 8.277 MB / 0.823 GB Notification: Performance of SimCode: time 1.834e-06/0.08979, allocations: 4 kB / 0.8657 GB, free: 8.273 MB / 0.823 GB Notification: Performance of Templates: time 0.0192/0.109, allocations: 11.46 MB / 0.8769 GB, free: 13.07 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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: 5.381593940081075]