Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.565/1.565, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001027/0.001027, allocations: 186.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008271/0.0008272, allocations: 86.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.537e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.8195, allocations: 161.3 MB / 1.049 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.8198, allocations: 101.4 kB / 1.049 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1944/1.014, allocations: 85.95 MB / 1.133 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/1.014, allocations: 0 / 1.133 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.284e-05/1.014, allocations: 59.98 kB / 1.133 GB, free: 7.211 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003677/1.018, allocations: 2.112 MB / 1.135 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.018, allocations: 8.031 kB / 1.135 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/1.022, allocations: 0.7579 MB / 1.136 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/1.025, allocations: 1.536 MB / 1.138 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/1.025, allocations: 176.8 kB / 1.138 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/1.026, allocations: 231.9 kB / 1.138 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/1.032, allocations: 3.817 MB / 1.142 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/1.032, allocations: 7.938 kB / 1.142 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/1.033, allocations: 99.98 kB / 1.142 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/1.033, allocations: 152.6 kB / 1.142 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005632/1.038, allocations: 3.188 MB / 1.145 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/1.059, allocations: 16.49 MB / 1.161 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/1.062, allocations: 2.107 MB / 1.163 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/1.063, allocations: 0.5859 MB / 1.164 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.063, allocations: 101.6 kB / 1.164 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.063, allocations: 43.12 kB / 1.164 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/1.063, allocations: 0 / 1.164 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.004003/1.067, allocations: 2.578 MB / 1.167 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.067, allocations: 111.6 kB / 1.167 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.068, allocations: 0.8962 MB / 1.168 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/1.068, allocations: 37.77 kB / 1.168 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/1.069, allocations: 1.095 MB / 1.169 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.069, allocations: 276.2 kB / 1.169 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/1.069, allocations: 24 kB / 1.169 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.07, allocations: 418.7 kB / 1.169 GB, free: 336 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/1.07, allocations: 0.5856 MB / 1.17 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/1.072, allocations: 1.123 MB / 1.171 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.073, allocations: 0.8333 MB / 1.172 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.073, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002936/1.076, allocations: 1.936 MB / 1.174 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.076, allocations: 16 kB / 1.174 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.076, allocations: 16 kB / 1.174 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/1.076, allocations: 163.3 kB / 1.174 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.077, allocations: 339.4 kB / 1.174 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-05/1.077, allocations: 47.86 kB / 1.174 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/1.078, allocations: 135.6 kB / 1.174 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.079, allocations: 67.98 kB / 1.174 GB, free: 10.79 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002165/1.079, allocations: 192.4 kB / 1.175 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.079, allocations: 110.7 kB / 1.175 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/1.081, allocations: 1.193 MB / 1.176 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.081, allocations: 8 kB / 1.176 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.081, allocations: 4 kB / 1.176 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.081, allocations: 7.938 kB / 1.176 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/1.087, allocations: 3.769 MB / 1.18 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.087, allocations: 7.984 kB / 1.18 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.087, allocations: 156 kB / 1.18 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/1.088, allocations: 151.3 kB / 1.18 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/1.088, allocations: 16 kB / 1.18 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.088, allocations: 4 kB / 1.18 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.088, allocations: 4 kB / 1.18 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.09, allocations: 1.557 MB / 1.181 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/1.09, allocations: 287.7 kB / 1.182 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.09, allocations: 16 kB / 1.182 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/1.091, allocations: 75.91 kB / 1.182 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.091, allocations: 60.38 kB / 1.182 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.091, allocations: 23.98 kB / 1.182 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009809/1.092, allocations: 0.6877 MB / 1.183 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.5e-07/1.092, allocations: 0 / 1.183 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001493/1.094, allocations: 411.9 kB / 1.183 GB, free: 1.734 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/1.094, allocations: 138 kB / 1.183 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00213/1.096, allocations: 1.65 MB / 1.185 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.096, allocations: 0 / 1.185 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009492/1.097, allocations: 0.8436 MB / 1.186 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.098, allocations: 236.4 kB / 1.186 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/1.104, allocations: 3.048 MB / 1.189 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.106, allocations: 1.96 MB / 1.191 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001122/1.107, allocations: 433.5 kB / 1.191 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.107, allocations: 83.42 kB / 1.191 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/1.107, allocations: 0 / 1.191 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of Templates: time 0.02336/1.131, allocations: 12.64 MB / 1.203 GB, free: 12.54 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches