Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001557/0.001557, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00219/0.00219, allocations: 166 kB / 24.87 MB, free: 9.258 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.9433/0.9433, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.454e-05, allocations: 2.844 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008646/0.00867, allocations: 10.35 MB / 0.7984 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007656/0.01633, allocations: 6.829 MB / 0.8051 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.01711, allocations: 91.19 kB / 0.8052 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008687/0.01798, allocations: 385.5 kB / 0.8055 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.02078, allocations: 1.71 MB / 0.8072 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009415/0.02172, allocations: 0.6433 MB / 0.8078 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00235/0.02407, allocations: 2.855 MB / 0.8106 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.02507, allocations: 1.196 MB / 0.8118 GB, free: 4.109 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.02668, allocations: 2.105 MB / 0.8138 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.02754, allocations: 0.9894 MB / 0.8148 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.02769, allocations: 156 kB / 0.815 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.02811, allocations: 311.7 kB / 0.8153 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.02855, allocations: 0.6503 MB / 0.8159 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.02901, allocations: 0.6429 MB / 0.8165 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.03025, allocations: 1.53 MB / 0.818 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.03025, allocations: 3.984 kB / 0.818 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.03026, allocations: 4 kB / 0.818 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.03027, allocations: 0 / 0.818 GB, free: 13.71 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002089/0.03236, allocations: 2.174 MB / 0.8201 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.0324, allocations: 12.03 kB / 0.8202 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.03585, allocations: 0.9202 MB / 0.821 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.03698, allocations: 1.166 MB / 0.8222 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.03703, allocations: 90.69 kB / 0.8223 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.03719, allocations: 124.3 kB / 0.8224 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.03891, allocations: 1.694 MB / 0.824 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.03894, allocations: 19.84 kB / 0.8241 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.03905, allocations: 51.98 kB / 0.8241 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000304/0.03935, allocations: 150.2 kB / 0.8243 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.04018, allocations: 0.6829 MB / 0.8249 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.04608, allocations: 7.822 MB / 0.8326 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.04706, allocations: 0.5995 MB / 0.8331 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.04741, allocations: 316.5 kB / 0.8335 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.04746, allocations: 17 kB / 0.8335 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.04748, allocations: 42.39 kB / 0.8335 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 2.174e-06/0.04749, allocations: 0 / 0.8335 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=153): time 0.009369/0.05686, allocations: 5.115 MB / 0.8385 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.05689, allocations: 68.72 kB / 0.8386 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.05748, allocations: 0.9882 MB / 0.8395 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-05/0.05758, allocations: 53.7 kB / 0.8396 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.05793, allocations: 0.8213 MB / 0.8404 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.05823, allocations: 0.5538 MB / 0.8409 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.05857, allocations: 293 kB / 0.8412 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.05866, allocations: 480.8 kB / 0.8417 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.05908, allocations: 363.7 kB / 0.842 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.05968, allocations: 0.7569 MB / 0.8428 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.06087, allocations: 1.18 MB / 0.8439 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.06087, allocations: 4 kB / 0.8439 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004039/0.06491, allocations: 2.533 MB / 0.8464 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.06493, allocations: 8 kB / 0.8464 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.06494, allocations: 11.94 kB / 0.8464 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/0.0694, allocations: 1.731 MB / 0.8481 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.06994, allocations: 191.7 kB / 0.8483 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.08194, allocations: 18.74 MB / 0.8666 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.08277, allocations: 67.91 kB / 0.8666 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.08286, allocations: 51.97 kB / 0.8667 GB, free: 9.965 MB / 0.823 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.08327, allocations: 240.4 kB / 0.8669 GB, free: 9.719 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.08352, allocations: 219 kB / 0.8671 GB, free: 9.504 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.08758, allocations: 2.483 MB / 0.8696 GB, free: 6.969 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.08759, allocations: 20.03 kB / 0.8696 GB, free: 6.949 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.08761, allocations: 31.92 kB / 0.8696 GB, free: 6.918 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.08762, allocations: 3.984 kB / 0.8696 GB, free: 6.914 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/0.09296, allocations: 3.641 MB / 0.8732 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.09296, allocations: 4 kB / 0.8732 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.09337, allocations: 123.8 kB / 0.8733 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004133/0.09751, allocations: 1.671 MB / 0.8749 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/0.09759, allocations: 43.97 kB / 0.875 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.1088, allocations: 18.66 MB / 0.8932 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1088, allocations: 11.88 kB / 0.8932 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.1124, allocations: 2.416 MB / 0.8956 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.113, allocations: 354.7 kB / 0.8959 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.1131, allocations: 28 kB / 0.8959 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.1137, allocations: 55.97 kB / 0.896 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.114, allocations: 160.8 kB / 0.8961 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.1141, allocations: 43.95 kB / 0.8962 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003735/0.1145, allocations: 0.5704 MB / 0.8967 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1145, allocations: 0 / 0.8967 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001518/0.116, allocations: 0.668 MB / 0.8974 GB, free: 9.316 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.1162, allocations: 143.2 kB / 0.8975 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.1193, allocations: 3.228 MB / 0.9007 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1193, allocations: 0 / 0.9007 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.1214, allocations: 2.668 MB / 0.9033 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.1226, allocations: 0.5316 MB / 0.9038 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.126, allocations: 3.118 MB / 0.9068 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1265, allocations: 0.5082 MB / 0.9073 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006364/0.1271, allocations: 289.2 kB / 0.9076 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/0.1278, allocations: 477.8 kB / 0.9081 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/0.1278, allocations: 0 / 0.9081 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of Templates: time 0.04858/0.1764, allocations: 52.07 MB / 0.9589 GB, free: 10.69 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.808205007109791]