Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001012/0.001012, 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.001059/0.001059, 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 0.96/0.96, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.934/1.934, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.07e-05, allocations: 8.922 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.008294/0.008324, allocations: 9.275 MB / 0.8206 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0049/0.01322, allocations: 2.835 MB / 0.8234 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.01426, allocations: 87.38 kB / 0.8234 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.01521, allocations: 334.3 kB / 0.8238 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.01642, allocations: 0.6618 MB / 0.8244 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.0176, allocations: 0.6295 MB / 0.825 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.0204, allocations: 3.606 MB / 0.8285 GB, free: 288 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.0229, allocations: 2.467 MB / 0.831 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.02536, allocations: 2.261 MB / 0.8332 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.02724, allocations: 1.774 MB / 0.8349 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.02774, allocations: 342.6 kB / 0.8352 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.02847, allocations: 471.6 kB / 0.8357 GB, free: 8.91 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.02949, allocations: 1.438 MB / 0.8371 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.03057, allocations: 1.033 MB / 0.8381 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.03285, allocations: 2.688 MB / 0.8407 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.03285, allocations: 4 kB / 0.8407 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.493e-06/0.03285, allocations: 0 / 0.8407 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.103e-05/0.03292, allocations: 1.688 kB / 0.8407 GB, free: 3.734 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003254/0.03617, allocations: 2.796 MB / 0.8434 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.03621, allocations: 12.03 kB / 0.8435 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.03875, allocations: 1.232 MB / 0.8447 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.04054, allocations: 1.451 MB / 0.8461 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.04063, allocations: 174 kB / 0.8462 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.0409, allocations: 236.3 kB / 0.8465 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.04406, allocations: 2.325 MB / 0.8487 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.04411, allocations: 8.125 kB / 0.8487 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.04428, allocations: 100.4 kB / 0.8488 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.04442, allocations: 172.5 kB / 0.849 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.04639, allocations: 0.9964 MB / 0.85 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.05675, allocations: 10.76 MB / 0.8605 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.05851, allocations: 1.045 MB / 0.8615 GB, free: 13.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.05887, allocations: 221 kB / 0.8617 GB, free: 13.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.241e-05/0.05897, allocations: 24.64 kB / 0.8617 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.059, allocations: 45.98 kB / 0.8618 GB, free: 13.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.059, allocations: 3.938 kB / 0.8618 GB, free: 13.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.003018/0.06202, allocations: 2.006 MB / 0.8637 GB, free: 11.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.06207, allocations: 111.5 kB / 0.8639 GB, free: 11.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.06292, allocations: 0.9406 MB / 0.8648 GB, free: 10.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.06295, allocations: 37.7 kB / 0.8648 GB, free: 10.28 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.0635, allocations: 1.211 MB / 0.866 GB, free: 9.055 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.06366, allocations: 289.6 kB / 0.8663 GB, free: 8.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.06393, allocations: 297 kB / 0.8666 GB, free: 8.473 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.06415, allocations: 0.6133 MB / 0.8671 GB, free: 7.848 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.06445, allocations: 187.9 kB / 0.8673 GB, free: 7.664 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.06511, allocations: 1.021 MB / 0.8683 GB, free: 6.281 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.06615, allocations: 1.317 MB / 0.8696 GB, free: 4.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.06615, allocations: 8 kB / 0.8696 GB, free: 4.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001455/0.06761, allocations: 1.198 MB / 0.8708 GB, free: 3.371 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.06763, allocations: 12 kB / 0.8708 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.06765, allocations: 24.78 kB / 0.8708 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.0679, allocations: 122.6 kB / 0.8709 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.06855, allocations: 343.3 kB / 0.8713 GB, free: 2.863 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/0.06858, allocations: 39.86 kB / 0.8713 GB, free: 2.824 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.06911, allocations: 123.8 kB / 0.8714 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.06918, allocations: 67.98 kB / 0.8715 GB, free: 2.637 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004257/0.06961, allocations: 260 kB / 0.8717 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.06975, allocations: 131.3 kB / 0.8719 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.07061, allocations: 0.6344 MB / 0.8725 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.07062, allocations: 8 kB / 0.8725 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.07063, allocations: 8 kB / 0.8725 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.07063, allocations: 3.984 kB / 0.8725 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.07355, allocations: 2.392 MB / 0.8748 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.07356, allocations: 7.969 kB / 0.8748 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.07389, allocations: 155.8 kB / 0.875 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.07406, allocations: 86.69 kB / 0.8751 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.07409, allocations: 23.98 kB / 0.8751 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.0741, allocations: 4 kB / 0.8751 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.0741, allocations: 7.938 kB / 0.8751 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.07497, allocations: 1.059 MB / 0.8761 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.07523, allocations: 191.2 kB / 0.8763 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.0753, allocations: 16 kB / 0.8763 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.0756, allocations: 63.91 kB / 0.8764 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.07569, allocations: 64.48 kB / 0.8765 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.07572, allocations: 23.94 kB / 0.8765 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004483/0.07617, allocations: 0.5114 MB / 0.877 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.07617, allocations: 0 / 0.877 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001001/0.07717, allocations: 388 kB / 0.8774 GB, free: 12.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.07736, allocations: 135 kB / 0.8775 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.07838, allocations: 0.7494 MB / 0.8782 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.07838, allocations: 0 / 0.8782 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.07872, allocations: 309.2 kB / 0.8785 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.07957, allocations: 271.1 kB / 0.8788 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.08354, allocations: 3.311 MB / 0.882 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.08397, allocations: 0.5788 MB / 0.8826 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005985/0.08457, allocations: 369.3 kB / 0.8829 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.08473, allocations: 84.48 kB / 0.883 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of SimCode: time 1.332e-06/0.08473, allocations: 0 / 0.883 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of Templates: time 0.01778/0.1025, allocations: 12.79 MB / 0.8955 GB, free: 9.953 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.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.502058075275272]