Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.867 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.001066/0.001066, allocations: 176.9 kB / 316.3 MB, free: 3.219 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.786/1.786, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.000869/0.000869, allocations: 78.55 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.896e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7079/0.9156, allocations: 148.3 MB / 1.03 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.9159, allocations: 93.42 kB / 1.03 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06976/0.9857, allocations: 29.63 MB / 1.059 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9857, allocations: 0 / 1.059 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.252e-05/0.9858, allocations: 16 kB / 1.059 GB, free: 14.11 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001171/0.987, allocations: 0.7799 MB / 1.06 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.987, allocations: 8.031 kB / 1.06 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.9882, allocations: 202.9 kB / 1.06 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.989, allocations: 499.3 kB / 1.061 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.989, allocations: 16 kB / 1.061 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.9891, allocations: 31.62 kB / 1.061 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006031/0.9897, allocations: 412.8 kB / 1.061 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.9907, allocations: 0.8505 MB / 1.062 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.9907, allocations: 11.84 kB / 1.062 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.9907, allocations: 8 kB / 1.062 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.9908, allocations: 51.69 kB / 1.062 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.9951, allocations: 5.546 MB / 1.067 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.9957, allocations: 447.5 kB / 1.068 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.996, allocations: 216 kB / 1.068 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.996, allocations: 0 / 1.068 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.9961, allocations: 38.12 kB / 1.068 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.9961, allocations: 0 / 1.068 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00146/0.9975, allocations: 0.8138 MB / 1.069 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.9976, allocations: 59.36 kB / 1.069 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.998, allocations: 358.2 kB / 1.069 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.998, allocations: 25.7 kB / 1.069 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.9982, allocations: 343.6 kB / 1.069 GB, free: 4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.9983, allocations: 120.4 kB / 1.07 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.9984, allocations: 0 / 1.07 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9985, allocations: 364 kB / 1.07 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.9988, allocations: 169.2 kB / 1.07 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.9991, allocations: 386.3 kB / 1.07 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.9994, allocations: 240.2 kB / 1.071 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9994, allocations: 4 kB / 1.071 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001039/1, allocations: 0.6969 MB / 1.071 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.001, allocations: 8 kB / 1.071 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.001, allocations: 12.09 kB / 1.071 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/1.001, allocations: 145 kB / 1.072 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/1.001, allocations: 111.1 kB / 1.072 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/1.004, allocations: 3.88 MB / 1.075 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/1.005, allocations: 27.91 kB / 1.075 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/1.005, allocations: 29.42 kB / 1.075 GB, free: 13.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001427/1.005, allocations: 137.5 kB / 1.076 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/1.005, allocations: 55.34 kB / 1.076 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/1.006, allocations: 0.5516 MB / 1.076 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.006, allocations: 4 kB / 1.076 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.006, allocations: 0 / 1.076 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.006, allocations: 3.984 kB / 1.076 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/1.008, allocations: 1.154 MB / 1.077 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.008, allocations: 4.031 kB / 1.077 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/1.008, allocations: 59.33 kB / 1.077 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/1.008, allocations: 132.2 kB / 1.078 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.008, allocations: 4 kB / 1.078 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/1.011, allocations: 3.86 MB / 1.081 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.011, allocations: 4.031 kB / 1.081 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/1.012, allocations: 0.7576 MB / 1.082 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.012, allocations: 158.5 kB / 1.082 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/1.012, allocations: 0 / 1.082 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/1.013, allocations: 23.28 kB / 1.082 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/1.013, allocations: 35.78 kB / 1.082 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/1.013, allocations: 8 kB / 1.082 GB, free: 7.105 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000262/1.013, allocations: 267.8 kB / 1.083 GB, free: 6.902 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.013, allocations: 0 / 1.083 GB, free: 6.902 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006285/1.014, allocations: 124 kB / 1.083 GB, free: 6.781 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001657/1.014, allocations: 115.2 kB / 1.083 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001206/1.015, allocations: 0.9603 MB / 1.084 GB, free: 5.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.015, allocations: 0 / 1.084 GB, free: 5.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007406/1.016, allocations: 0.7005 MB / 1.084 GB, free: 5.059 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/1.017, allocations: 166.8 kB / 1.085 GB, free: 4.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/1.018, allocations: 0.7411 MB / 1.085 GB, free: 4.211 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/1.018, allocations: 0.9264 MB / 1.086 GB, free: 3.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003346/1.019, allocations: 108.9 kB / 1.086 GB, free: 3.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/1.019, allocations: 35.44 kB / 1.086 GB, free: 3.125 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.019, allocations: 0 / 1.086 GB, free: 3.125 MB / 0.698 GB Notification: Performance of Templates: time 0.01144/1.03, allocations: 6.386 MB / 1.093 GB, free: 12.83 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches