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.216/2.216, allocations: 387.1 MB / 399.7 MB, free: 9.414 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.001011/0.001011, allocations: 172.9 kB / 492.3 MB, free: 0.6055 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.466/1.466, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008995/0.0008996, allocations: 98.86 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.974e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9203/1.198, allocations: 173.9 MB / 1.382 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.199, allocations: 94.09 kB / 1.382 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2497/1.448, allocations: 113.2 MB / 1.493 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.793e-06/1.448, allocations: 4 kB / 1.493 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.112e-05/1.448, allocations: 43.98 kB / 1.493 GB, free: 7.43 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.002891/1.451, allocations: 1.558 MB / 1.494 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.451, allocations: 12.03 kB / 1.494 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/1.456, allocations: 0.6183 MB / 1.495 GB, free: 5.188 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.458, allocations: 0.8881 MB / 1.496 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/1.458, allocations: 94.52 kB / 1.496 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/1.458, allocations: 124 kB / 1.496 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/1.461, allocations: 2.309 MB / 1.498 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/1.461, allocations: 23.86 kB / 1.498 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.461, allocations: 63.97 kB / 1.498 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/1.462, allocations: 138.3 kB / 1.499 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/1.464, allocations: 1.824 MB / 1.5 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/1.477, allocations: 12.49 MB / 1.513 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.48, allocations: 1.844 MB / 1.514 GB, free: 80 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/1.481, allocations: 0.6051 MB / 1.515 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/1.482, allocations: 106 kB / 1.515 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.482, allocations: 43.56 kB / 1.515 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 3.567e-06/1.482, allocations: 0 / 1.515 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.004248/1.486, allocations: 2.375 MB / 1.517 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.486, allocations: 68.41 kB / 1.517 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.487, allocations: 0.787 MB / 1.518 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/1.487, allocations: 41.7 kB / 1.518 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/1.488, allocations: 0.7083 MB / 1.519 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/1.488, allocations: 386.5 kB / 1.519 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/1.488, allocations: 32 kB / 1.519 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.488, allocations: 357.9 kB / 1.52 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/1.489, allocations: 0.5896 MB / 1.52 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/1.49, allocations: 1.028 MB / 1.521 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.491, allocations: 0.7425 MB / 1.522 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.491, allocations: 11.94 kB / 1.522 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003194/1.495, allocations: 2.006 MB / 1.524 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.495, allocations: 17.5 kB / 1.524 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.495, allocations: 12 kB / 1.524 GB, free: 5.855 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/1.495, allocations: 259.3 kB / 1.524 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.497, allocations: 359.4 kB / 1.525 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/1.505, allocations: 10.74 MB / 1.535 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.507, allocations: 119.8 kB / 1.535 GB, free: 9.301 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.507, allocations: 64 kB / 1.535 GB, free: 9.238 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.000291/1.507, allocations: 201.2 kB / 1.535 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/1.507, allocations: 130.5 kB / 1.536 GB, free: 8.906 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.51, allocations: 1.653 MB / 1.537 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.51, allocations: 12 kB / 1.537 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.51, allocations: 0 / 1.537 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.51, allocations: 15.92 kB / 1.537 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/1.515, allocations: 3.267 MB / 1.54 GB, free: 3.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.515, allocations: 12.12 kB / 1.54 GB, free: 3.766 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/1.516, allocations: 219.6 kB / 1.541 GB, free: 3.551 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/1.517, allocations: 242.7 kB / 1.541 GB, free: 3.289 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/1.517, allocations: 20 kB / 1.541 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008431/1.525, allocations: 10.74 MB / 1.551 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.525, allocations: 4 kB / 1.551 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/1.529, allocations: 2.045 MB / 1.553 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/1.529, allocations: 335.2 kB / 1.554 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/1.53, allocations: 28 kB / 1.554 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/1.53, allocations: 91.86 kB / 1.554 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.531, allocations: 92.56 kB / 1.554 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/1.531, allocations: 36 kB / 1.554 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008853/1.532, allocations: 0.6032 MB / 1.554 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.21e-07/1.532, allocations: 0 / 1.554 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001447/1.533, allocations: 400 kB / 1.555 GB, free: 3.602 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.0002722/1.533, allocations: 158.9 kB / 1.555 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003412/1.537, allocations: 2.42 MB / 1.557 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.537, allocations: 0 / 1.557 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.539, allocations: 1.609 MB / 1.559 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/1.54, allocations: 315.8 kB / 1.559 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/1.544, allocations: 2.163 MB / 1.561 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.545, allocations: 1.36 MB / 1.563 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001048/1.546, allocations: 359 kB / 1.563 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.546, allocations: 95.42 kB / 1.563 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/1.546, allocations: 0 / 1.563 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of Templates: time 0.02842/1.575, allocations: 15.76 MB / 1.579 GB, free: 11.16 MB / 0.9948 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