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.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 180.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009424/0.0009424, allocations: 96 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004457, allocations: 8.75 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2601, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7408/1.001, allocations: 161.3 MB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.001, allocations: 98.83 kB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1818/1.183, allocations: 86.37 MB / 1.142 GB, free: 89.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/1.183, allocations: 0 / 1.142 GB, free: 89.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001085/1.183, allocations: 56 kB / 1.142 GB, free: 89.72 MB / 0.698 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.004794/1.188, allocations: 2.232 MB / 1.144 GB, free: 87.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.188, allocations: 12.03 kB / 1.144 GB, free: 87.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/1.192, allocations: 0.7579 MB / 1.145 GB, free: 86.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/1.196, allocations: 1.539 MB / 1.147 GB, free: 85.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/1.196, allocations: 180.8 kB / 1.147 GB, free: 84.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/1.197, allocations: 232 kB / 1.147 GB, free: 84.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006854/1.204, allocations: 3.875 MB / 1.151 GB, free: 80.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/1.204, allocations: 3.984 kB / 1.151 GB, free: 80.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/1.204, allocations: 104 kB / 1.151 GB, free: 80.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/1.204, allocations: 156.5 kB / 1.151 GB, free: 80.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/1.209, allocations: 3.262 MB / 1.154 GB, free: 77.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/1.226, allocations: 16.49 MB / 1.17 GB, free: 59.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/1.228, allocations: 2.146 MB / 1.172 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.228, allocations: 93.66 kB / 1.172 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/1.228, allocations: 43.06 kB / 1.173 GB, free: 56.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.765e-06/1.228, allocations: 3.938 kB / 1.173 GB, free: 56.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.004773/1.233, allocations: 3.458 MB / 1.176 GB, free: 53.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.233, allocations: 115.5 kB / 1.176 GB, free: 52.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.234, allocations: 0.8999 MB / 1.177 GB, free: 52.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/1.234, allocations: 37.7 kB / 1.177 GB, free: 52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/1.235, allocations: 1.095 MB / 1.178 GB, free: 50.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.235, allocations: 288 kB / 1.178 GB, free: 50.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/1.235, allocations: 24 kB / 1.178 GB, free: 50.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.235, allocations: 414.7 kB / 1.179 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/1.236, allocations: 0.6167 MB / 1.179 GB, free: 49.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/1.237, allocations: 1.157 MB / 1.18 GB, free: 48.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/1.238, allocations: 0.854 MB / 1.181 GB, free: 47.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.238, allocations: 4 kB / 1.181 GB, free: 47.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002434/1.24, allocations: 1.991 MB / 1.183 GB, free: 45.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.24, allocations: 15.95 kB / 1.183 GB, free: 45.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.24, allocations: 16 kB / 1.183 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/1.241, allocations: 167.3 kB / 1.183 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.242, allocations: 347.7 kB / 1.184 GB, free: 44.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/1.242, allocations: 39.86 kB / 1.184 GB, free: 44.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.243, allocations: 135.7 kB / 1.184 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/1.243, allocations: 64 kB / 1.184 GB, free: 44.48 MB / 0.698 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 () * Number of clocked 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.001697/1.245, allocations: 0.9732 MB / 1.185 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/1.245, allocations: 106.7 kB / 1.185 GB, free: 43.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/1.247, allocations: 1.249 MB / 1.186 GB, free: 42.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.247, allocations: 8 kB / 1.186 GB, free: 42.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.247, allocations: 0 / 1.186 GB, free: 42.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.247, allocations: 11.94 kB / 1.186 GB, free: 42.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/1.252, allocations: 3.557 MB / 1.19 GB, free: 38.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.252, allocations: 7.938 kB / 1.19 GB, free: 38.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/1.253, allocations: 168 kB / 1.19 GB, free: 38.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/1.253, allocations: 139.3 kB / 1.19 GB, free: 38.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/1.253, allocations: 12.09 kB / 1.19 GB, free: 38.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.253, allocations: 8 kB / 1.19 GB, free: 38.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.253, allocations: 3.938 kB / 1.19 GB, free: 38.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.255, allocations: 1.608 MB / 1.192 GB, free: 36.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/1.255, allocations: 291.7 kB / 1.192 GB, free: 36.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.255, allocations: 12 kB / 1.192 GB, free: 36.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/1.256, allocations: 83.89 kB / 1.192 GB, free: 35.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.256, allocations: 56.38 kB / 1.192 GB, free: 35.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/1.256, allocations: 24 kB / 1.192 GB, free: 35.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008757/1.257, allocations: 0.6913 MB / 1.193 GB, free: 35.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.82e-07/1.257, allocations: 4 kB / 1.193 GB, free: 35.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00163/1.259, allocations: 415.9 kB / 1.193 GB, free: 34.79 MB / 0.698 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 () * Number of clocked 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.0002054/1.259, allocations: 135 kB / 1.193 GB, free: 34.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001972/1.261, allocations: 1.714 MB / 1.195 GB, free: 32.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.261, allocations: 4 kB / 1.195 GB, free: 32.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/1.262, allocations: 0.8709 MB / 1.196 GB, free: 31.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.263, allocations: 225.5 kB / 1.196 GB, free: 31.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/1.269, allocations: 4.611 MB / 1.201 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/1.271, allocations: 1.96 MB / 1.202 GB, free: 25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001103/1.272, allocations: 449.5 kB / 1.203 GB, free: 24.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/1.272, allocations: 83.42 kB / 1.203 GB, free: 24.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.272, allocations: 0 / 1.203 GB, free: 24.48 MB / 0.698 GB Notification: Performance of Templates: time 0.02072/1.293, allocations: 12.46 MB / 1.215 GB, free: 12.15 MB / 0.698 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