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.361/2.361, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001156/0.001156, allocations: 181.2 kB / 498.1 MB, free: 5.754 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.563/1.563, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 96.38 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.5492, allocations: 173.9 MB / 1.393 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5496, allocations: 99.94 kB / 1.393 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8527/1.402, allocations: 113.8 MB / 1.504 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.604e-06/1.402, allocations: 0 / 1.504 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001396/1.403, allocations: 44 kB / 1.504 GB, free: 145.3 MB / 0.9167 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.004926/1.407, allocations: 1.685 MB / 1.506 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.408, allocations: 8.031 kB / 1.506 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/1.412, allocations: 0.6222 MB / 1.506 GB, free: 142.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/1.415, allocations: 0.8881 MB / 1.507 GB, free: 142 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/1.415, allocations: 98.45 kB / 1.507 GB, free: 141.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004754/1.415, allocations: 135.8 kB / 1.507 GB, free: 141.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/1.42, allocations: 2.326 MB / 1.51 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/1.42, allocations: 11.88 kB / 1.51 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/1.42, allocations: 63.97 kB / 1.51 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/1.42, allocations: 142.3 kB / 1.51 GB, free: 138.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/1.423, allocations: 1.855 MB / 1.512 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/1.434, allocations: 12.51 MB / 1.524 GB, free: 123.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/1.437, allocations: 1.869 MB / 1.526 GB, free: 121.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/1.437, allocations: 102.1 kB / 1.526 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.437, allocations: 47.56 kB / 1.526 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 4.008e-06/1.437, allocations: 0 / 1.526 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005331/1.443, allocations: 3.702 MB / 1.529 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.443, allocations: 60.41 kB / 1.53 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/1.443, allocations: 0.7938 MB / 1.53 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/1.443, allocations: 41.7 kB / 1.53 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/1.444, allocations: 0.7084 MB / 1.531 GB, free: 116 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.444, allocations: 390.5 kB / 1.531 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/1.444, allocations: 28 kB / 1.531 GB, free: 115.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/1.444, allocations: 365.9 kB / 1.532 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/1.445, allocations: 0.6012 MB / 1.532 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/1.446, allocations: 1.036 MB / 1.533 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/1.447, allocations: 0.7486 MB / 1.534 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.447, allocations: 8 kB / 1.534 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002821/1.449, allocations: 2.03 MB / 1.536 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.449, allocations: 16 kB / 1.536 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.45, allocations: 12 kB / 1.536 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007533/1.45, allocations: 258.6 kB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.451, allocations: 359.4 kB / 1.537 GB, free: 110 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/1.457, allocations: 10.83 MB / 1.547 GB, free: 98.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.459, allocations: 123.8 kB / 1.547 GB, free: 97.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.459, allocations: 67.98 kB / 1.547 GB, free: 97.88 MB / 0.9167 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 () * Number of clocked 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.0007295/1.46, allocations: 413.1 kB / 1.548 GB, free: 97.47 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.46, allocations: 126.5 kB / 1.548 GB, free: 97.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.462, allocations: 1.681 MB / 1.55 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.462, allocations: 12 kB / 1.55 GB, free: 95.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.462, allocations: 3.953 kB / 1.55 GB, free: 95.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.462, allocations: 7.984 kB / 1.55 GB, free: 95.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/1.467, allocations: 3.28 MB / 1.553 GB, free: 92.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/1.467, allocations: 4 kB / 1.553 GB, free: 92.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/1.468, allocations: 219.6 kB / 1.553 GB, free: 91.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/1.469, allocations: 243.4 kB / 1.553 GB, free: 91.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/1.469, allocations: 24 kB / 1.553 GB, free: 91.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/1.474, allocations: 10.82 MB / 1.564 GB, free: 79.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.474, allocations: 8 kB / 1.564 GB, free: 79.78 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/1.477, allocations: 2.063 MB / 1.566 GB, free: 77.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007994/1.478, allocations: 331.2 kB / 1.566 GB, free: 77.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.478, allocations: 27.98 kB / 1.566 GB, free: 77.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/1.479, allocations: 87.88 kB / 1.566 GB, free: 77.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.479, allocations: 100.7 kB / 1.566 GB, free: 76.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/1.479, allocations: 32 kB / 1.566 GB, free: 76.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006808/1.48, allocations: 0.6138 MB / 1.567 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/1.48, allocations: 4 kB / 1.567 GB, free: 76.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001377/1.481, allocations: 408 kB / 1.567 GB, free: 75.88 MB / 0.9167 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 (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.0002496/1.481, allocations: 143 kB / 1.568 GB, free: 75.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003292/1.485, allocations: 2.472 MB / 1.57 GB, free: 73.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.485, allocations: 0 / 1.57 GB, free: 73.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.486, allocations: 1.614 MB / 1.572 GB, free: 71.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.488, allocations: 319.8 kB / 1.572 GB, free: 71.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/1.492, allocations: 3.229 MB / 1.575 GB, free: 67.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/1.493, allocations: 1.364 MB / 1.576 GB, free: 66.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001024/1.494, allocations: 351 kB / 1.577 GB, free: 66.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.494, allocations: 99.42 kB / 1.577 GB, free: 65.97 MB / 0.9167 GB Notification: Performance of SimCode: time 1.102e-06/1.494, allocations: 0 / 1.577 GB, free: 65.97 MB / 0.9167 GB Notification: Performance of Templates: time 0.02525/1.519, allocations: 15.75 MB / 1.592 GB, free: 50.37 MB / 0.9167 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