Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.00102/0.00102, allocations: 174.5 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.235/1.235, allocations: 205.1 MB / 0.572 GB, free: 10.61 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.000775/0.000775, allocations: 90.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.731e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6535/0.821, allocations: 190 MB / 1.077 GB, free: 11.29 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.8214, allocations: 93.06 kB / 1.077 GB, free: 11.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.264/1.085, allocations: 113.2 MB / 1.188 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.407e-06/1.085, allocations: 0 / 1.188 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001452/1.086, allocations: 79.92 kB / 1.188 GB, free: 14.64 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005665/1.091, allocations: 2.665 MB / 1.191 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.091, allocations: 12.03 kB / 1.191 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/1.095, allocations: 0.6674 MB / 1.191 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/1.1, allocations: 2.06 MB / 1.193 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.1, allocations: 230 kB / 1.194 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/1.1, allocations: 288 kB / 1.194 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/1.108, allocations: 4.56 MB / 1.198 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/1.108, allocations: 15.84 kB / 1.198 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/1.108, allocations: 136 kB / 1.198 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/1.108, allocations: 169.8 kB / 1.199 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005186/1.114, allocations: 3.345 MB / 1.202 GB, free: 120 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/1.135, allocations: 21.6 MB / 1.223 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.136, allocations: 1.273 MB / 1.224 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/1.138, allocations: 1.026 MB / 1.225 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.42e-05/1.138, allocations: 13 kB / 1.225 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.138, allocations: 51.55 kB / 1.225 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/1.138, allocations: 0 / 1.225 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.01802/1.156, allocations: 6.648 MB / 1.232 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.156, allocations: 68.72 kB / 1.232 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.157, allocations: 0.9614 MB / 1.233 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/1.157, allocations: 45.7 kB / 1.233 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008105/1.158, allocations: 1.308 MB / 1.234 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/1.159, allocations: 481.1 kB / 1.235 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/1.159, allocations: 32 kB / 1.235 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.159, allocations: 373.9 kB / 1.235 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/1.16, allocations: 0.8551 MB / 1.236 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.162, allocations: 1.331 MB / 1.237 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.163, allocations: 1.098 MB / 1.238 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/1.163, allocations: 4 kB / 1.238 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005666/1.169, allocations: 3.374 MB / 1.241 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.169, allocations: 12 kB / 1.241 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.169, allocations: 16.84 kB / 1.241 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.172, allocations: 1.134 MB / 1.243 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/1.173, allocations: 271.5 kB / 1.243 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.188, allocations: 12.44 MB / 1.255 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.19, allocations: 95.97 kB / 1.255 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.19, allocations: 64.38 kB / 1.255 GB, free: 6.867 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003699/1.19, allocations: 211.2 kB / 1.255 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.19, allocations: 158.1 kB / 1.255 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/1.196, allocations: 3.095 MB / 1.258 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.196, allocations: 16 kB / 1.259 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.196, allocations: 12 kB / 1.259 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.196, allocations: 7.969 kB / 1.259 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4612/1.657, allocations: 6.089 MB / 1.264 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.657, allocations: 4.562 kB / 1.264 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/1.658, allocations: 149.3 kB / 1.265 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/1.661, allocations: 1.023 MB / 1.266 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/1.661, allocations: 27.59 kB / 1.266 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.676, allocations: 12.14 MB / 1.277 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.676, allocations: 7.859 kB / 1.278 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/1.681, allocations: 3.307 MB / 1.281 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008691/1.682, allocations: 420 kB / 1.281 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.682, allocations: 28.52 kB / 1.281 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/1.683, allocations: 77.55 kB / 1.281 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.684, allocations: 124.5 kB / 1.281 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/1.684, allocations: 39.16 kB / 1.281 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001018/1.685, allocations: 0.7367 MB / 1.282 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.685, allocations: 2.688 kB / 1.282 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002245/1.687, allocations: 0.666 MB / 1.283 GB, free: 240.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002527/1.687, allocations: 136.4 kB / 1.283 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004695/1.692, allocations: 3.024 MB / 1.286 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.692, allocations: 0.9688 kB / 1.286 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/1.695, allocations: 1.899 MB / 1.288 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.697, allocations: 434.7 kB / 1.288 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/1.705, allocations: 4.293 MB / 1.292 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/1.708, allocations: 2.395 MB / 1.295 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001428/1.709, allocations: 350.7 kB / 1.295 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/1.71, allocations: 88.58 kB / 1.295 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/1.71, allocations: 0 / 1.295 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04576/1.755, allocations: 29.14 MB / 1.324 GB, free: 237 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches