Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001321/0.001321, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001745/0.001745, allocations: 181 kB / 24.09 MB, free: 416 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.9742/0.9742, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.406 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_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.239e-05, allocations: 3.078 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006583/0.006606, allocations: 4.138 MB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.009033, allocations: 1.56 MB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.009377, allocations: 45.06 kB / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.009938, allocations: 190.6 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.01059, allocations: 417.8 kB / 0.8182 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.0112, allocations: 381 kB / 0.8186 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.0121, allocations: 1.144 MB / 0.8197 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.01271, allocations: 0.51 MB / 0.8202 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.01338, allocations: 0.6164 MB / 0.8208 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.01424, allocations: 452.2 kB / 0.8212 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.0143, allocations: 56 kB / 0.8213 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.01451, allocations: 143.8 kB / 0.8214 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.0147, allocations: 300.2 kB / 0.8217 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.01489, allocations: 271.3 kB / 0.8219 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.01547, allocations: 0.6656 MB / 0.8226 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.01548, allocations: 1.969 kB / 0.8226 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.884e-06/0.01548, allocations: 0 / 0.8226 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.01549, allocations: 0 / 0.8226 GB, free: 6.598 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.000933/0.01642, allocations: 1.062 MB / 0.8236 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01646, allocations: 12.03 kB / 0.8236 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.01717, allocations: 279.8 kB / 0.8239 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.01771, allocations: 0.5349 MB / 0.8244 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01774, allocations: 49.67 kB / 0.8245 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.0178, allocations: 64.31 kB / 0.8245 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.01844, allocations: 0.8515 MB / 0.8254 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.01846, allocations: 12.11 kB / 0.8254 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.0185, allocations: 28.36 kB / 0.8254 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.01856, allocations: 74.34 kB / 0.8255 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.01884, allocations: 273.3 kB / 0.8257 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.02161, allocations: 5.512 MB / 0.8311 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.02193, allocations: 231.8 kB / 0.8313 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.02223, allocations: 242.9 kB / 0.8316 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.02226, allocations: 7.984 kB / 0.8316 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.02228, allocations: 41.39 kB / 0.8316 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.645e-06/0.02228, allocations: 0 / 0.8316 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.001662/0.02395, allocations: 0.9649 MB / 0.8326 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.02397, allocations: 55.41 kB / 0.8326 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.02423, allocations: 474.2 kB / 0.8331 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.02425, allocations: 33.7 kB / 0.8331 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.02443, allocations: 458.6 kB / 0.8335 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.02451, allocations: 158.6 kB / 0.8337 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02461, allocations: 115.9 kB / 0.8338 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.02475, allocations: 0.5429 MB / 0.8343 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.02483, allocations: 77.25 kB / 0.8344 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.02519, allocations: 380.7 kB / 0.8348 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.02554, allocations: 0.5178 MB / 0.8353 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02554, allocations: 4 kB / 0.8353 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007271/0.02627, allocations: 0.6674 MB / 0.8359 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.02629, allocations: 8 kB / 0.8359 GB, free: 8.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.02629, allocations: 4 kB / 0.8359 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.02681, allocations: 246.5 kB / 0.8362 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.02698, allocations: 91.83 kB / 0.8363 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.03081, allocations: 7.575 MB / 0.8437 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.03104, allocations: 20 kB / 0.8437 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.03106, allocations: 20 kB / 0.8437 GB, free: 15.7 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.03124, allocations: 192.7 kB / 0.8439 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.03131, allocations: 79.56 kB / 0.844 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.03192, allocations: 0.509 MB / 0.8445 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03193, allocations: 8 kB / 0.8445 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03193, allocations: 4 kB / 0.8445 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03193, allocations: 3.984 kB / 0.8445 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.03301, allocations: 1.005 MB / 0.8455 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03301, allocations: 0 / 0.8455 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.03308, allocations: 27.98 kB / 0.8455 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.03356, allocations: 246.6 kB / 0.8457 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.03357, allocations: 4 kB / 0.8457 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.03698, allocations: 7.576 MB / 0.8531 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.03699, allocations: 0 / 0.8531 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.03771, allocations: 0.6916 MB / 0.8538 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.03783, allocations: 87.56 kB / 0.8539 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.03786, allocations: 11.95 kB / 0.8539 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.03798, allocations: 8 kB / 0.8539 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.03806, allocations: 43.86 kB / 0.8539 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.03807, allocations: 12 kB / 0.8539 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001421/0.03821, allocations: 294.7 kB / 0.8542 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03821, allocations: 0 / 0.8542 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005407/0.03875, allocations: 196 kB / 0.8544 GB, free: 4.082 MB / 0.8073 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.03887, allocations: 103.2 kB / 0.8545 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.03979, allocations: 1.109 MB / 0.8556 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0398, allocations: 3.938 kB / 0.8556 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.04032, allocations: 0.9309 MB / 0.8565 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.04086, allocations: 211.3 kB / 0.8567 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.0422, allocations: 1.169 MB / 0.8579 GB, free: 364 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.04234, allocations: 206.3 kB / 0.8581 GB, free: 136 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.04249, allocations: 57.05 kB / 0.8581 GB, free: 76 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.04271, allocations: 206.1 kB / 0.8583 GB, free: 15.87 MB / 0.823 GB Notification: Performance of SimCode: time 1.232e-06/0.04271, allocations: 8 kB / 0.8583 GB, free: 15.86 MB / 0.823 GB Notification: Performance of Templates: time 0.01336/0.05607, allocations: 11.1 MB / 0.8691 GB, free: 4.961 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.203114629723132]