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.0009278/0.0009278, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009998/0.0009998, allocations: 161 kB / 23.82 MB, free: 0.75 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.055/1.055, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.904/1.904, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.724e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01115/0.01117, allocations: 4.884 MB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.01468, allocations: 1.735 MB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.015, allocations: 39.62 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.01554, allocations: 204 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.01613, allocations: 449.4 kB / 0.8187 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.01677, allocations: 398.1 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009776/0.01774, allocations: 1.279 MB / 0.8203 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.01833, allocations: 0.5339 MB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.01891, allocations: 0.6637 MB / 0.8215 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.01936, allocations: 482.6 kB / 0.8219 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.01944, allocations: 68 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.01965, allocations: 144.9 kB / 0.8221 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.01986, allocations: 335.1 kB / 0.8224 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.02009, allocations: 315.2 kB / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.02069, allocations: 0.7444 MB / 0.8235 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.0207, allocations: 0 / 0.8235 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.0207, allocations: 1.75 kB / 0.8235 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.02071, allocations: 3.984 kB / 0.8235 GB, free: 5.484 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.001235/0.02194, allocations: 1.188 MB / 0.8246 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.02197, allocations: 8.031 kB / 0.8246 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.02286, allocations: 340.5 kB / 0.825 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.02345, allocations: 0.5656 MB / 0.8255 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.02347, allocations: 49.67 kB / 0.8256 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.02355, allocations: 73.02 kB / 0.8256 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.02436, allocations: 1.074 MB / 0.8267 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.02438, allocations: 4.188 kB / 0.8267 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.02442, allocations: 36.36 kB / 0.8267 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.429e-05/0.02452, allocations: 89.12 kB / 0.8268 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.02498, allocations: 358.7 kB / 0.8272 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.02803, allocations: 5.718 MB / 0.8327 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.02851, allocations: 290 kB / 0.833 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.02868, allocations: 129.1 kB / 0.8331 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.02871, allocations: 9 kB / 0.8331 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.02873, allocations: 49.81 kB / 0.8332 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.362e-06/0.02873, allocations: 0.6875 kB / 0.8332 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001724/0.03046, allocations: 1.083 MB / 0.8343 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.03048, allocations: 59.91 kB / 0.8343 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.03084, allocations: 0.5297 MB / 0.8348 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.03087, allocations: 37.7 kB / 0.8349 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.03107, allocations: 474.5 kB / 0.8353 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.03117, allocations: 178.5 kB / 0.8355 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.03134, allocations: 132.3 kB / 0.8356 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.03148, allocations: 0.543 MB / 0.8361 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.03165, allocations: 113.9 kB / 0.8362 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.03194, allocations: 424.7 kB / 0.8367 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.03246, allocations: 0.5897 MB / 0.8372 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.03246, allocations: 0 / 0.8372 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008752/0.03334, allocations: 0.7529 MB / 0.838 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.03335, allocations: 8 kB / 0.838 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03336, allocations: 4 kB / 0.838 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.03446, allocations: 307 kB / 0.8383 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.03471, allocations: 131.7 kB / 0.8384 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.03873, allocations: 7.611 MB / 0.8458 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.03896, allocations: 40.02 kB / 0.8459 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.03899, allocations: 35.94 kB / 0.8459 GB, free: 13.18 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.0001511/0.03914, allocations: 200.3 kB / 0.8461 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.03922, allocations: 83.58 kB / 0.8462 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.03991, allocations: 0.5494 MB / 0.8467 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.03992, allocations: 4 kB / 0.8467 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.03992, allocations: 4 kB / 0.8467 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03993, allocations: 3.984 kB / 0.8467 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.04117, allocations: 1.166 MB / 0.8479 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.04117, allocations: 4 kB / 0.8479 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.0413, allocations: 59.89 kB / 0.8479 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006316/0.04194, allocations: 294.5 kB / 0.8482 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.04196, allocations: 12 kB / 0.8482 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.04565, allocations: 7.608 MB / 0.8556 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.04565, allocations: 4 kB / 0.8556 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.04634, allocations: 0.7328 MB / 0.8564 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.04647, allocations: 99.58 kB / 0.8565 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.04651, allocations: 15.94 kB / 0.8565 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.04668, allocations: 31.97 kB / 0.8565 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.04674, allocations: 51.8 kB / 0.8565 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.04676, allocations: 12.12 kB / 0.8566 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002128/0.04697, allocations: 346.7 kB / 0.8569 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.04697, allocations: 0 / 0.8569 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004451/0.04742, allocations: 228 kB / 0.8571 GB, free: 1.008 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 (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 9.548e-05/0.04751, allocations: 115.2 kB / 0.8572 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009448/0.04846, allocations: 1.194 MB / 0.8584 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.04846, allocations: 0 / 0.8584 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/0.04944, allocations: 0.9685 MB / 0.8593 GB, free: 14.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.04995, allocations: 198.2 kB / 0.8595 GB, free: 14.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.05135, allocations: 1.271 MB / 0.8608 GB, free: 13.06 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.05148, allocations: 215.4 kB / 0.861 GB, free: 12.83 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.05166, allocations: 101.5 kB / 0.8611 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.05174, allocations: 40.5 kB / 0.8611 GB, free: 12.69 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.05174, allocations: 0 / 0.8611 GB, free: 12.69 MB / 0.823 GB Notification: Performance of Templates: time 0.01226/0.064, allocations: 11.46 MB / 0.8723 GB, free: 1.488 MB / 0.823 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.503621607553214]