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.504/1.504, allocations: 249.5 MB / 257 MB, free: 6.98 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.001202/0.001202, allocations: 180.8 kB / 316.3 MB, free: 3.234 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.629/1.629, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008988/0.0008989, allocations: 88.23 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2283, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7548/0.9832, allocations: 161.5 MB / 1.043 GB, free: 9.781 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.9836, allocations: 94.56 kB / 1.043 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2004/1.184, allocations: 85.61 MB / 1.127 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/1.184, allocations: 4 kB / 1.127 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000118/1.184, allocations: 59.98 kB / 1.127 GB, free: 14.18 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.00483/1.189, allocations: 2.112 MB / 1.129 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.189, allocations: 12.02 kB / 1.129 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/1.193, allocations: 0.754 MB / 1.13 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/1.197, allocations: 1.532 MB / 1.131 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/1.197, allocations: 76 kB / 1.131 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/1.197, allocations: 139.9 kB / 1.131 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005208/1.202, allocations: 2.688 MB / 1.134 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005848/1.208, allocations: 3.464 MB / 1.137 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/1.208, allocations: 7.938 kB / 1.137 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/1.209, allocations: 4 kB / 1.137 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/1.209, allocations: 164.5 kB / 1.137 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/1.227, allocations: 15.8 MB / 1.153 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/1.231, allocations: 2.08 MB / 1.155 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/1.231, allocations: 0.563 MB / 1.155 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/1.232, allocations: 97.66 kB / 1.156 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.232, allocations: 39.12 kB / 1.156 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/1.232, allocations: 0 / 1.156 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.004394/1.236, allocations: 2.593 MB / 1.158 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.236, allocations: 119.6 kB / 1.158 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.237, allocations: 0.8285 MB / 1.159 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/1.237, allocations: 25.7 kB / 1.159 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/1.238, allocations: 1.095 MB / 1.16 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.238, allocations: 260.3 kB / 1.16 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/1.238, allocations: 4.062 kB / 1.16 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.238, allocations: 410.7 kB / 1.161 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/1.239, allocations: 0.5544 MB / 1.161 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.24, allocations: 1.092 MB / 1.162 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/1.242, allocations: 0.9293 MB / 1.163 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.242, allocations: 15.95 kB / 1.163 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0031/1.245, allocations: 1.916 MB / 1.165 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.245, allocations: 17.25 kB / 1.165 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.245, allocations: 19.95 kB / 1.165 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/1.245, allocations: 159.8 kB / 1.165 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.246, allocations: 351.4 kB / 1.166 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/1.246, allocations: 35.86 kB / 1.166 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/1.247, allocations: 115.6 kB / 1.166 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/1.248, allocations: 63.98 kB / 1.166 GB, free: 3.797 MB / 0.7761 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.0002017/1.248, allocations: 152.5 kB / 1.166 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/1.248, allocations: 102.8 kB / 1.166 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.25, allocations: 1.185 MB / 1.167 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.25, allocations: 8 kB / 1.167 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.25, allocations: 7.938 kB / 1.167 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.25, allocations: 3.984 kB / 1.167 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/1.255, allocations: 3.194 MB / 1.17 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.255, allocations: 4 kB / 1.17 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/1.256, allocations: 155.8 kB / 1.171 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/1.256, allocations: 135.4 kB / 1.171 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/1.256, allocations: 12 kB / 1.171 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.256, allocations: 11.98 kB / 1.171 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.256, allocations: 12.05 kB / 1.171 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.258, allocations: 1.548 MB / 1.172 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/1.259, allocations: 287.8 kB / 1.173 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.259, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/1.259, allocations: 63.91 kB / 1.173 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.259, allocations: 56.38 kB / 1.173 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.259, allocations: 24 kB / 1.173 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008274/1.26, allocations: 0.6244 MB / 1.173 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.71e-07/1.26, allocations: 0 / 1.173 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001549/1.262, allocations: 380.1 kB / 1.174 GB, free: 11.53 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.0002161/1.262, allocations: 116.8 kB / 1.174 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002006/1.264, allocations: 1.575 MB / 1.175 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.264, allocations: 2.5 kB / 1.175 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/1.265, allocations: 0.8296 MB / 1.176 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.266, allocations: 218.6 kB / 1.176 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/1.271, allocations: 2.995 MB / 1.179 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/1.273, allocations: 1.957 MB / 1.181 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001155/1.274, allocations: 437.3 kB / 1.182 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.275, allocations: 75.42 kB / 1.182 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of SimCode: time 5.51e-07/1.275, allocations: 0 / 1.182 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of Templates: time 0.02446/1.299, allocations: 11.76 MB / 1.193 GB, free: 7.395 MB / 0.8073 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