Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 95.52 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.563e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2817, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9572/1.239, allocations: 173.2 MB / 1.375 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.239, allocations: 91.62 kB / 1.375 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2888/1.528, allocations: 112.8 MB / 1.485 GB, free: 248 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.193e-06/1.528, allocations: 0 / 1.485 GB, free: 248 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.262e-05/1.528, allocations: 47.61 kB / 1.485 GB, free: 204 kB / 0.8855 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.002852/1.531, allocations: 1.556 MB / 1.487 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.531, allocations: 12.02 kB / 1.487 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/1.536, allocations: 0.6182 MB / 1.488 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.537, allocations: 0.8828 MB / 1.488 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/1.537, allocations: 40 kB / 1.488 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.538, allocations: 72 kB / 1.489 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002191/1.54, allocations: 1.349 MB / 1.49 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/1.543, allocations: 2.122 MB / 1.492 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/1.543, allocations: 15.86 kB / 1.492 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.543, allocations: 8 kB / 1.492 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/1.543, allocations: 142.3 kB / 1.492 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/1.555, allocations: 12.21 MB / 1.504 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/1.559, allocations: 1.802 MB / 1.506 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/1.56, allocations: 0.5708 MB / 1.506 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/1.56, allocations: 97.92 kB / 1.506 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/1.56, allocations: 47.81 kB / 1.506 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 4.188e-06/1.56, allocations: 4 kB / 1.506 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.004865/1.565, allocations: 2.407 MB / 1.509 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/1.565, allocations: 64.72 kB / 1.509 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/1.566, allocations: 0.6522 MB / 1.51 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/1.566, allocations: 29.7 kB / 1.51 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/1.566, allocations: 0.7197 MB / 1.51 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/1.567, allocations: 362.6 kB / 1.511 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/1.567, allocations: 0 / 1.511 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.567, allocations: 361.9 kB / 1.511 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/1.568, allocations: 0.5623 MB / 1.511 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.569, allocations: 0.9856 MB / 1.512 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.57, allocations: 0.8648 MB / 1.513 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.571, allocations: 4 kB / 1.513 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003468/1.574, allocations: 2.002 MB / 1.515 GB, free: 76 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.574, allocations: 12 kB / 1.515 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.574, allocations: 16 kB / 1.515 GB, free: 48 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007651/1.575, allocations: 256.2 kB / 1.516 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.576, allocations: 355.4 kB / 1.516 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/1.584, allocations: 10.31 MB / 1.526 GB, free: 4.199 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.585, allocations: 99.78 kB / 1.526 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.585, allocations: 63.98 kB / 1.526 GB, free: 4.039 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002656/1.586, allocations: 152.6 kB / 1.526 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.586, allocations: 122.6 kB / 1.526 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/1.589, allocations: 1.627 MB / 1.528 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.589, allocations: 11.95 kB / 1.528 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.589, allocations: 11.88 kB / 1.528 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.589, allocations: 15.97 kB / 1.528 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/1.594, allocations: 3.036 MB / 1.531 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.594, allocations: 8 kB / 1.531 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/1.595, allocations: 215.6 kB / 1.531 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007102/1.596, allocations: 247.3 kB / 1.531 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/1.596, allocations: 8 kB / 1.531 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008432/1.604, allocations: 10.3 MB / 1.541 GB, free: 3.203 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.604, allocations: 16 kB / 1.541 GB, free: 3.188 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/1.608, allocations: 2.037 MB / 1.543 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/1.608, allocations: 323.4 kB / 1.544 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.609, allocations: 4 kB / 1.544 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/1.609, allocations: 71.88 kB / 1.544 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.61, allocations: 96.5 kB / 1.544 GB, free: 420 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/1.61, allocations: 39.98 kB / 1.544 GB, free: 380 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006745/1.61, allocations: 497.7 kB / 1.544 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/1.61, allocations: 0 / 1.544 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001698/1.612, allocations: 356 kB / 1.545 GB, free: 15.53 MB / 0.9636 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/1.612, allocations: 131.7 kB / 1.545 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003265/1.616, allocations: 2.296 MB / 1.547 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.616, allocations: 0 / 1.547 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/1.618, allocations: 1.542 MB / 1.549 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.619, allocations: 274.6 kB / 1.549 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/1.623, allocations: 2.103 MB / 1.551 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.624, allocations: 1.352 MB / 1.552 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001169/1.625, allocations: 346.4 kB / 1.553 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/1.626, allocations: 95.41 kB / 1.553 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of SimCode: time 1.593e-06/1.626, allocations: 0 / 1.553 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of Templates: time 0.02706/1.653, allocations: 14.54 MB / 1.567 GB, free: 8.691 MB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches