Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 249.5 MB / 257 MB, free: 6.895 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.001086/0.001086, allocations: 179.5 kB / 316.3 MB, free: 3.223 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.728/1.728, 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.0008199/0.0008199, allocations: 88.25 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.319e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6821/0.8846, allocations: 181.9 MB / 1.063 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.8849, allocations: 96.38 kB / 1.063 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07377/0.9586, allocations: 31.66 MB / 1.094 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9587, allocations: 0 / 1.094 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.519e-05/0.9588, allocations: 20 kB / 1.094 GB, free: 12.04 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001238/0.96, allocations: 0.8053 MB / 1.095 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.96, allocations: 11.97 kB / 1.095 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.9613, allocations: 198.9 kB / 1.095 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.9622, allocations: 0.4984 MB / 1.095 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.9623, allocations: 16 kB / 1.095 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.9624, allocations: 39.89 kB / 1.095 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006704/0.9631, allocations: 459.5 kB / 1.096 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.9641, allocations: 0.7897 MB / 1.097 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.9641, allocations: 7.938 kB / 1.097 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.9642, allocations: 4 kB / 1.097 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/0.9643, allocations: 40.98 kB / 1.097 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.9682, allocations: 4.489 MB / 1.101 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.9685, allocations: 278.1 kB / 1.101 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.9688, allocations: 208.5 kB / 1.101 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.9688, allocations: 4 kB / 1.101 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.9689, allocations: 37.56 kB / 1.102 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.937e-06/0.9689, allocations: 4 kB / 1.102 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003415/0.9723, allocations: 1.98 MB / 1.103 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.9723, allocations: 62.91 kB / 1.104 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.9727, allocations: 335 kB / 1.104 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.9727, allocations: 25.7 kB / 1.104 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.9729, allocations: 341.1 kB / 1.104 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.973, allocations: 134.7 kB / 1.104 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.9731, allocations: 0 / 1.104 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9732, allocations: 365.6 kB / 1.105 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.9735, allocations: 218.6 kB / 1.105 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.9738, allocations: 365.9 kB / 1.105 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.9742, allocations: 272.5 kB / 1.105 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9742, allocations: 4 kB / 1.105 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00139/0.9756, allocations: 0.8232 MB / 1.106 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9756, allocations: 10.19 kB / 1.106 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.9756, allocations: 4 kB / 1.106 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.9763, allocations: 218.1 kB / 1.107 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.9768, allocations: 106.9 kB / 1.107 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/0.9807, allocations: 4.739 MB / 1.111 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.9812, allocations: 19.97 kB / 1.111 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.9812, allocations: 19.19 kB / 1.111 GB, free: 11.61 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.9813, allocations: 120.9 kB / 1.111 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.9814, allocations: 55.39 kB / 1.111 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.9827, allocations: 0.7221 MB / 1.112 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.9828, allocations: 8 kB / 1.112 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9828, allocations: 7.891 kB / 1.112 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9828, allocations: 144 / 1.112 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.9848, allocations: 1.365 MB / 1.114 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.9848, allocations: 0 / 1.114 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.9851, allocations: 71.88 kB / 1.114 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/0.9858, allocations: 194 kB / 1.114 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.9858, allocations: 7.812 kB / 1.114 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.9897, allocations: 4.679 MB / 1.118 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.9897, allocations: 0 / 1.118 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.9913, allocations: 1.161 MB / 1.119 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.9915, allocations: 170.1 kB / 1.12 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.9916, allocations: 4 kB / 1.12 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.9919, allocations: 19.97 kB / 1.12 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.992, allocations: 39.34 kB / 1.12 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.992, allocations: 11.19 kB / 1.12 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000255/0.9923, allocations: 261.7 kB / 1.12 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9923, allocations: 0 / 1.12 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006579/0.993, allocations: 159.9 kB / 1.12 GB, free: 3.367 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.9931, allocations: 115.2 kB / 1.12 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.9945, allocations: 0.9328 MB / 1.121 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9945, allocations: 0 / 1.121 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.9953, allocations: 0.636 MB / 1.122 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.996, allocations: 141.3 kB / 1.122 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.9975, allocations: 0.9461 MB / 1.123 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.9981, allocations: 0.9596 MB / 1.124 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003365/0.9985, allocations: 108.6 kB / 1.124 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.9986, allocations: 35.44 kB / 1.124 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.9986, allocations: 0 / 1.124 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.01212/1.011, allocations: 7.48 MB / 1.131 GB, free: 8.418 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches