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.302/2.302, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001397/0.001397, allocations: 175.9 kB / 0.4902 GB, free: 2.297 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.508/1.508, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001039/0.001039, allocations: 100.8 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 12.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.5182, allocations: 174.7 MB / 1.4 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.5186, allocations: 95.94 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8688/1.387, allocations: 113.8 MB / 1.511 GB, free: 133.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.936e-06/1.388, allocations: 0 / 1.511 GB, free: 133.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.595e-05/1.388, allocations: 43.98 kB / 1.511 GB, free: 133.4 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.002685/1.39, allocations: 1.69 MB / 1.513 GB, free: 131.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.39, allocations: 8.562 kB / 1.513 GB, free: 131.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/1.395, allocations: 0.626 MB / 1.513 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.396, allocations: 0.8881 MB / 1.514 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/1.396, allocations: 98.5 kB / 1.514 GB, free: 130 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/1.396, allocations: 128 kB / 1.515 GB, free: 129.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.399, allocations: 2.326 MB / 1.517 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/1.399, allocations: 11.84 kB / 1.517 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/1.399, allocations: 63.97 kB / 1.517 GB, free: 127.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/1.399, allocations: 146.2 kB / 1.517 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/1.402, allocations: 1.855 MB / 1.519 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009423/1.411, allocations: 12.5 MB / 1.531 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/1.414, allocations: 1.867 MB / 1.533 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/1.414, allocations: 106.1 kB / 1.533 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.414, allocations: 43.56 kB / 1.533 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 2.935e-06/1.414, allocations: 0 / 1.533 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005045/1.419, allocations: 3.698 MB / 1.537 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/1.42, allocations: 64.41 kB / 1.537 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/1.42, allocations: 0.7938 MB / 1.537 GB, free: 105 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/1.42, allocations: 45.7 kB / 1.537 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/1.421, allocations: 0.7122 MB / 1.538 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/1.421, allocations: 386.5 kB / 1.539 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/1.421, allocations: 28 kB / 1.539 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/1.421, allocations: 369.9 kB / 1.539 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/1.422, allocations: 0.5973 MB / 1.54 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008949/1.423, allocations: 1.044 MB / 1.541 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/1.424, allocations: 0.7486 MB / 1.541 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.882e-06/1.424, allocations: 4 kB / 1.541 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002583/1.426, allocations: 2.033 MB / 1.543 GB, free: 98.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.426, allocations: 12 kB / 1.543 GB, free: 98.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.426, allocations: 16 kB / 1.543 GB, free: 98.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/1.427, allocations: 259.1 kB / 1.544 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.428, allocations: 351.4 kB / 1.544 GB, free: 98.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/1.434, allocations: 10.83 MB / 1.554 GB, free: 86.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.435, allocations: 119.8 kB / 1.555 GB, free: 86.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/1.435, allocations: 67.98 kB / 1.555 GB, free: 86.03 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.0007514/1.436, allocations: 403.8 kB / 1.555 GB, free: 85.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.436, allocations: 134.4 kB / 1.555 GB, free: 85.49 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.439, allocations: 1.681 MB / 1.557 GB, free: 83.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.439, allocations: 12 kB / 1.557 GB, free: 83.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.439, allocations: 3.953 kB / 1.557 GB, free: 83.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.439, allocations: 7.969 kB / 1.557 GB, free: 83.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/1.443, allocations: 3.28 MB / 1.56 GB, free: 80.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.443, allocations: 12.12 kB / 1.56 GB, free: 80.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/1.444, allocations: 223.6 kB / 1.56 GB, free: 80.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006224/1.445, allocations: 238.6 kB / 1.56 GB, free: 79.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/1.445, allocations: 27.98 kB / 1.56 GB, free: 79.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/1.45, allocations: 10.81 MB / 1.571 GB, free: 67.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.45, allocations: 11.94 kB / 1.571 GB, free: 67.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/1.453, allocations: 2.06 MB / 1.573 GB, free: 65.63 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/1.453, allocations: 331.2 kB / 1.573 GB, free: 65.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.453, allocations: 31.98 kB / 1.573 GB, free: 65.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/1.454, allocations: 91.86 kB / 1.573 GB, free: 65.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.454, allocations: 96.72 kB / 1.574 GB, free: 65.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/1.454, allocations: 36 kB / 1.574 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007061/1.455, allocations: 0.6138 MB / 1.574 GB, free: 64.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.455, allocations: 0 / 1.574 GB, free: 64.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001391/1.457, allocations: 404 kB / 1.575 GB, free: 64.02 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.0002288/1.457, allocations: 151 kB / 1.575 GB, free: 63.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002703/1.459, allocations: 2.453 MB / 1.577 GB, free: 61.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.459, allocations: 0.875 kB / 1.577 GB, free: 61.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.461, allocations: 1.629 MB / 1.579 GB, free: 59.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.462, allocations: 316 kB / 1.579 GB, free: 59.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/1.466, allocations: 3.23 MB / 1.582 GB, free: 55.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/1.467, allocations: 1.36 MB / 1.584 GB, free: 54.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009071/1.468, allocations: 355 kB / 1.584 GB, free: 54.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/1.468, allocations: 99.42 kB / 1.584 GB, free: 54.11 MB / 0.9167 GB Notification: Performance of SimCode: time 1.874e-06/1.468, allocations: 0 / 1.584 GB, free: 54.11 MB / 0.9167 GB Notification: Performance of Templates: time 0.02376/1.492, allocations: 15.75 MB / 1.599 GB, free: 38.51 MB / 0.9167 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