Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.204/2.204, allocations: 390.5 MB / 398 MB, free: 10.92 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.001578/0.001578, allocations: 188.3 kB / 491.2 MB, free: 1.559 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009452/0.000945, allocations: 91.91 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.126e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.326, allocations: 174 MB / 1.382 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.326, allocations: 95.2 kB / 1.382 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2598/1.586, allocations: 112.8 MB / 1.493 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.645e-06/1.586, allocations: 0 / 1.493 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001574/1.586, allocations: 47.92 kB / 1.493 GB, free: 8.344 MB / 0.9011 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.004492/1.591, allocations: 1.561 MB / 1.494 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.591, allocations: 12.03 kB / 1.494 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/1.596, allocations: 0.6106 MB / 1.495 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/1.599, allocations: 0.8881 MB / 1.496 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/1.599, allocations: 44 kB / 1.496 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000491/1.6, allocations: 75.91 kB / 1.496 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003022/1.603, allocations: 1.345 MB / 1.497 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/1.606, allocations: 2.117 MB / 1.499 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/1.607, allocations: 7.938 kB / 1.499 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/1.607, allocations: 8 kB / 1.499 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/1.607, allocations: 142.3 kB / 1.499 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/1.621, allocations: 12.22 MB / 1.511 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/1.625, allocations: 1.794 MB / 1.513 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/1.625, allocations: 0.5669 MB / 1.513 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.626, allocations: 106.4 kB / 1.514 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.626, allocations: 43.88 kB / 1.514 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 2.985e-06/1.626, allocations: 0 / 1.514 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005255/1.631, allocations: 2.411 MB / 1.516 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.631, allocations: 64.72 kB / 1.516 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/1.632, allocations: 0.66 MB / 1.517 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/1.632, allocations: 25.7 kB / 1.517 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/1.633, allocations: 0.7236 MB / 1.517 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/1.633, allocations: 362.6 kB / 1.518 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/1.633, allocations: 3.938 kB / 1.518 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.633, allocations: 361.9 kB / 1.518 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/1.634, allocations: 0.5584 MB / 1.519 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/1.635, allocations: 0.9895 MB / 1.52 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.637, allocations: 0.8609 MB / 1.52 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/1.637, allocations: 7.953 kB / 1.52 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003808/1.641, allocations: 1.998 MB / 1.522 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.641, allocations: 8 kB / 1.522 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/1.641, allocations: 16 kB / 1.522 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/1.642, allocations: 251.2 kB / 1.523 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.643, allocations: 359.4 kB / 1.523 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/1.652, allocations: 10.32 MB / 1.533 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.653, allocations: 99.8 kB / 1.533 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/1.654, allocations: 72.14 kB / 1.533 GB, free: 12.08 MB / 0.948 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.0003788/1.654, allocations: 144.5 kB / 1.533 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/1.655, allocations: 118.6 kB / 1.533 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/1.658, allocations: 1.635 MB / 1.535 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.658, allocations: 16 kB / 1.535 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.658, allocations: 4 kB / 1.535 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.658, allocations: 7.969 kB / 1.535 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/1.666, allocations: 3.039 MB / 1.538 GB, free: 6.938 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.666, allocations: 4 kB / 1.538 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.668, allocations: 228.3 kB / 1.538 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/1.669, allocations: 234.6 kB / 1.539 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.669, allocations: 16 kB / 1.539 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.68, allocations: 10.3 MB / 1.549 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/1.68, allocations: 7.938 kB / 1.549 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/1.686, allocations: 2.041 MB / 1.551 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.687, allocations: 315.4 kB / 1.551 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004716/1.687, allocations: 12 kB / 1.551 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.689, allocations: 75.81 kB / 1.551 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/1.689, allocations: 96.55 kB / 1.551 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.689, allocations: 32 kB / 1.551 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001167/1.69, allocations: 0.4939 MB / 1.552 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.01e-07/1.69, allocations: 0 / 1.552 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002708/1.693, allocations: 348 kB / 1.552 GB, free: 7.547 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.0004128/1.693, allocations: 138.9 kB / 1.552 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004962/1.698, allocations: 2.293 MB / 1.554 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.698, allocations: 0 / 1.554 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/1.702, allocations: 1.538 MB / 1.556 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.705, allocations: 280.2 kB / 1.556 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/1.712, allocations: 2.103 MB / 1.558 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.714, allocations: 1.359 MB / 1.559 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001391/1.715, allocations: 334.4 kB / 1.56 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/1.715, allocations: 91.41 kB / 1.56 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of SimCode: time 2.746e-06/1.715, allocations: 0 / 1.56 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of Templates: time 0.04102/1.756, allocations: 14.56 MB / 1.574 GB, free: 0.6992 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches