Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 180.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008438/0.0008437, allocations: 88.88 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.169e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9803, allocations: 147.6 MB / 1.029 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.9806, allocations: 102.6 kB / 1.03 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06394/1.045, allocations: 27.44 MB / 1.056 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.182e-06/1.045, allocations: 0 / 1.056 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.448e-05/1.045, allocations: 16 kB / 1.056 GB, free: 0.5469 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001055/1.046, allocations: 0.6758 MB / 1.057 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.046, allocations: 12.03 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.047, allocations: 182.7 kB / 1.057 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/1.048, allocations: 397.8 kB / 1.058 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.048, allocations: 8 kB / 1.058 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/1.048, allocations: 23.91 kB / 1.058 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005249/1.048, allocations: 349.4 kB / 1.058 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/1.049, allocations: 0.6414 MB / 1.059 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.049, allocations: 4 kB / 1.059 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/1.049, allocations: 4 kB / 1.059 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/1.049, allocations: 47.05 kB / 1.059 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/1.052, allocations: 3.707 MB / 1.062 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/1.054, allocations: 0.6606 MB / 1.063 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/1.055, allocations: 168.4 kB / 1.063 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.055, allocations: 11.94 kB / 1.063 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/1.055, allocations: 33.94 kB / 1.063 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.445e-06/1.055, allocations: 0 / 1.063 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001417/1.056, allocations: 0.7932 MB / 1.064 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.056, allocations: 106.7 kB / 1.064 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.057, allocations: 302 kB / 1.064 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.057, allocations: 25.7 kB / 1.064 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/1.057, allocations: 277.8 kB / 1.065 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/1.057, allocations: 112.1 kB / 1.065 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/1.057, allocations: 0 / 1.065 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.057, allocations: 352.4 kB / 1.065 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.057, allocations: 158.3 kB / 1.065 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/1.058, allocations: 336 kB / 1.065 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/1.058, allocations: 209.5 kB / 1.066 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.058, allocations: 8 kB / 1.066 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008192/1.059, allocations: 0.5846 MB / 1.066 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.059, allocations: 8 kB / 1.066 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.059, allocations: 8 kB / 1.066 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/1.059, allocations: 91.91 kB / 1.066 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.059, allocations: 115.4 kB / 1.066 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.062, allocations: 3.86 MB / 1.07 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/1.062, allocations: 19.97 kB / 1.07 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.062, allocations: 26.31 kB / 1.07 GB, free: 2.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.063, allocations: 121 kB / 1.07 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/1.063, allocations: 43.53 kB / 1.07 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/1.063, allocations: 490.2 kB / 1.071 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.063, allocations: 8 kB / 1.071 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/1.063, allocations: 4 kB / 1.071 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.063, allocations: 4 kB / 1.071 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.065, allocations: 1.194 MB / 1.072 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.065, allocations: 0 / 1.072 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/1.065, allocations: 63.41 kB / 1.072 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/1.065, allocations: 86.97 kB / 1.072 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/1.066, allocations: 8 kB / 1.072 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/1.068, allocations: 3.877 MB / 1.076 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.068, allocations: 0 / 1.076 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/1.069, allocations: 0.8738 MB / 1.077 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/1.069, allocations: 154.6 kB / 1.077 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/1.069, allocations: 4 kB / 1.077 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/1.069, allocations: 19.97 kB / 1.077 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/1.07, allocations: 35.42 kB / 1.077 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.07, allocations: 15.19 kB / 1.077 GB, free: 11.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002075/1.07, allocations: 233.8 kB / 1.077 GB, free: 11.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.07, allocations: 0 / 1.077 GB, free: 11.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006514/1.07, allocations: 116 kB / 1.077 GB, free: 11.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0001951/1.071, allocations: 111.1 kB / 1.077 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.072, allocations: 0.7275 MB / 1.078 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.072, allocations: 256 / 1.078 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/1.072, allocations: 0.5172 MB / 1.079 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/1.073, allocations: 111.7 kB / 1.079 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/1.074, allocations: 0.6422 MB / 1.079 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/1.074, allocations: 0.8775 MB / 1.08 GB, free: 8.652 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002549/1.075, allocations: 92.31 kB / 1.08 GB, free: 8.559 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/1.075, allocations: 39.42 kB / 1.08 GB, free: 8.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/1.075, allocations: 3.938 kB / 1.08 GB, free: 8.516 MB / 0.698 GB Notification: Performance of Templates: time 0.008372/1.083, allocations: 4.866 MB / 1.085 GB, free: 3.707 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches