Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001423/0.001423, 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.004532/0.004532, 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.9532/0.9532, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.728/1.728, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.721e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005688/0.005705, allocations: 6.696 MB / 0.7949 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.009621, allocations: 2.441 MB / 0.7972 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.01024, allocations: 71.31 kB / 0.7973 GB, free: 3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.01098, allocations: 333.4 kB / 0.7976 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01227, allocations: 0.8621 MB / 0.7985 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.01316, allocations: 0.5621 MB / 0.799 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.01514, allocations: 2.212 MB / 0.8012 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.01624, allocations: 1.015 MB / 0.8022 GB, free: 14 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.01758, allocations: 1.216 MB / 0.8034 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.01859, allocations: 0.8713 MB / 0.8042 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.01875, allocations: 112 kB / 0.8043 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01913, allocations: 243.7 kB / 0.8045 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.0195, allocations: 0.5652 MB / 0.8051 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.01994, allocations: 0.5316 MB / 0.8056 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.02107, allocations: 1.284 MB / 0.8069 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02107, allocations: 4 kB / 0.8069 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.021e-06/0.02107, allocations: 0 / 0.8069 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.729e-05/0.0211, allocations: 0 / 0.8069 GB, free: 9.172 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001707/0.02281, allocations: 1.82 MB / 0.8086 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.02285, allocations: 11.97 kB / 0.8087 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.02492, allocations: 0.7599 MB / 0.8094 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.02591, allocations: 0.9116 MB / 0.8103 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.02596, allocations: 98.89 kB / 0.8104 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.0261, allocations: 132.3 kB / 0.8105 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.02752, allocations: 1.74 MB / 0.8122 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.02755, allocations: 12.12 kB / 0.8122 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.02763, allocations: 60.34 kB / 0.8123 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.02776, allocations: 166.2 kB / 0.8124 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.02856, allocations: 0.6751 MB / 0.8131 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005787/0.03434, allocations: 11.09 MB / 0.8239 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.0361, allocations: 1.366 MB / 0.8253 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.03631, allocations: 182.6 kB / 0.8254 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.03639, allocations: 32.98 kB / 0.8255 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.03641, allocations: 46.39 kB / 0.8255 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=103): time 2.084e-06/0.03641, allocations: 0 / 0.8255 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.001987/0.0384, allocations: 1.435 MB / 0.8269 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.03844, allocations: 64.41 kB / 0.827 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.03894, allocations: 0.863 MB / 0.8278 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.03899, allocations: 41.7 kB / 0.8279 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.03932, allocations: 0.8027 MB / 0.8286 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.03952, allocations: 400.5 kB / 0.829 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.03975, allocations: 296.9 kB / 0.8293 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.03985, allocations: 480.7 kB / 0.8298 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.04008, allocations: 211.8 kB / 0.83 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.04059, allocations: 0.9071 MB / 0.8309 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.04146, allocations: 1.239 MB / 0.8321 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.04146, allocations: 4 kB / 0.8321 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001304/0.04277, allocations: 1.318 MB / 0.8334 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.04279, allocations: 15.94 kB / 0.8334 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.0428, allocations: 12 kB / 0.8334 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.04322, allocations: 229.6 kB / 0.8336 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.0438, allocations: 315.5 kB / 0.8339 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.04873, allocations: 13.79 MB / 0.8474 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.04916, allocations: 59.95 kB / 0.8474 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.04922, allocations: 52 kB / 0.8475 GB, free: 13.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.04947, allocations: 267.9 kB / 0.8477 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.04961, allocations: 167.2 kB / 0.8479 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.05061, allocations: 0.9011 MB / 0.8488 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.05062, allocations: 12 kB / 0.8488 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.05062, allocations: 4 kB / 0.8488 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.05063, allocations: 11.91 kB / 0.8488 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.05258, allocations: 1.841 MB / 0.8506 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.05259, allocations: 4 kB / 0.8506 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.05296, allocations: 167.8 kB / 0.8508 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.05333, allocations: 217.9 kB / 0.851 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.05337, allocations: 24 kB / 0.851 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.05827, allocations: 13.79 MB / 0.8645 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.05827, allocations: 7.984 kB / 0.8645 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.0593, allocations: 1.181 MB / 0.8656 GB, free: 9.207 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.05954, allocations: 199 kB / 0.8658 GB, free: 9.012 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.05962, allocations: 35.95 kB / 0.8658 GB, free: 8.977 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.0599, allocations: 28 kB / 0.8659 GB, free: 8.949 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.06003, allocations: 100.7 kB / 0.866 GB, free: 8.848 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.06006, allocations: 20 kB / 0.866 GB, free: 8.828 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002885/0.06035, allocations: 494 kB / 0.8665 GB, free: 8.336 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.06035, allocations: 0 / 0.8665 GB, free: 8.336 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008055/0.06115, allocations: 396 kB / 0.8668 GB, free: 7.949 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.06132, allocations: 139 kB / 0.867 GB, free: 7.801 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.06277, allocations: 2.135 MB / 0.8691 GB, free: 5.531 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.06277, allocations: 8.938 kB / 0.8691 GB, free: 5.523 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009089/0.06368, allocations: 1.694 MB / 0.8707 GB, free: 3.684 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.06457, allocations: 358.2 kB / 0.8711 GB, free: 3.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.06717, allocations: 2.493 MB / 0.8735 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.06743, allocations: 361.3 kB / 0.8738 GB, free: 336 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.06784, allocations: 183.2 kB / 0.874 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.06835, allocations: 374 kB / 0.8744 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.06835, allocations: 0 / 0.8744 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.02295/0.0913, allocations: 18.99 MB / 0.8929 GB, free: 13.17 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.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.3123044413514435]