Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007723/0.0007725, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005754, allocations: 11.66 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.451, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02733/0.4783, allocations: 24.27 MB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4922, allocations: 7.687 MB / 1.089 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.4951, allocations: 103.4 kB / 1.089 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.4969, allocations: 0.5077 MB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.5015, allocations: 1.279 MB / 1.091 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.5056, allocations: 0.9909 MB / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01105/0.5166, allocations: 6.876 MB / 1.099 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.534, allocations: 8.178 MB / 1.107 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.5386, allocations: 1.875 MB / 1.109 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00578/0.5444, allocations: 2.398 MB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.5461, allocations: 212 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/0.5496, allocations: 0.6008 MB / 1.112 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003685/0.5533, allocations: 1.652 MB / 1.113 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.556, allocations: 0.8083 MB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009696/0.5657, allocations: 6.623 MB / 1.121 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5657, allocations: 0 / 1.121 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5658, allocations: 4 kB / 1.121 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003286/0.5661, allocations: 0 / 1.121 GB, free: 5.051 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009806/0.5759, allocations: 3.46 MB / 1.124 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.576, allocations: 12.03 kB / 1.124 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.5814, allocations: 0.7991 MB / 1.125 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/0.5877, allocations: 2.37 MB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/0.5882, allocations: 271.3 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.5901, allocations: 379.8 kB / 1.128 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.6051, allocations: 5.965 MB / 1.134 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.6053, allocations: 19.78 kB / 1.134 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009126/0.6062, allocations: 156 kB / 1.134 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006415/0.6069, allocations: 278.9 kB / 1.134 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.6173, allocations: 4.496 MB / 1.138 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03911/0.6565, allocations: 27.69 MB / 1.165 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.6585, allocations: 1.117 MB / 1.166 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.66, allocations: 1.015 MB / 1.167 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/0.6601, allocations: 16.94 kB / 1.167 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.6602, allocations: 51.55 kB / 1.168 GB, free: 2.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/0.6602, allocations: 0 / 1.168 GB, free: 2.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=131): time 0.02231/0.6825, allocations: 9.663 MB / 1.177 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.6826, allocations: 68.66 kB / 1.177 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.685, allocations: 1.482 MB / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.6852, allocations: 49.7 kB / 1.179 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.6865, allocations: 1.663 MB / 1.18 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.687, allocations: 469.3 kB / 1.181 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.6872, allocations: 44 kB / 1.181 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6874, allocations: 377.8 kB / 1.181 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.689, allocations: 0.9096 MB / 1.182 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.6908, allocations: 1.455 MB / 1.183 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.6926, allocations: 1.142 MB / 1.184 GB, free: 268 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.6926, allocations: 7.953 kB / 1.184 GB, free: 260 kB / 0.9356 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00632/0.699, allocations: 3.27 MB / 1.188 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.699, allocations: 12.22 kB / 1.188 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.6991, allocations: 20 kB / 1.188 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.7014, allocations: 0.7412 MB / 1.188 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.703, allocations: 383.4 kB / 1.189 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.7198, allocations: 15.77 MB / 1.204 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.7218, allocations: 111.9 kB / 1.204 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/0.7222, allocations: 72 kB / 1.204 GB, free: 10.62 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003619/0.7258, allocations: 1.309 MB / 1.206 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/0.7266, allocations: 205.6 kB / 1.206 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/0.7323, allocations: 2.777 MB / 1.209 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7324, allocations: 12 kB / 1.209 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/0.7324, allocations: 8 kB / 1.209 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.7324, allocations: 7.969 kB / 1.209 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.7444, allocations: 6.213 MB / 1.215 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.7445, allocations: 8 kB / 1.215 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7457, allocations: 231.6 kB / 1.215 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001999/0.7477, allocations: 0.6633 MB / 1.215 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.7478, allocations: 28 kB / 1.216 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.763, allocations: 15.51 MB / 1.231 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.763, allocations: 7.938 kB / 1.231 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/0.77, allocations: 3.993 MB / 1.235 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.7712, allocations: 458.6 kB / 1.235 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.7717, allocations: 35.98 kB / 1.235 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7728, allocations: 79.89 kB / 1.235 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/0.7732, allocations: 116.7 kB / 1.235 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7733, allocations: 44 kB / 1.235 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001724/0.775, allocations: 0.9747 MB / 1.236 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.775, allocations: 0 / 1.236 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002895/0.7779, allocations: 0.6836 MB / 1.237 GB, free: 7.711 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003864/0.7783, allocations: 161.5 kB / 1.237 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005737/0.7841, allocations: 3.487 MB / 1.24 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.7841, allocations: 0 / 1.24 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003296/0.7874, allocations: 2.288 MB / 1.243 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/0.7913, allocations: 0.6223 MB / 1.243 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.8054, allocations: 7.848 MB / 1.251 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003471/0.8089, allocations: 2.668 MB / 1.254 GB, free: 6.281 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001854/0.8108, allocations: 493.3 kB / 1.254 GB, free: 5.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.8111, allocations: 115.4 kB / 1.254 GB, free: 5.684 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/0.8111, allocations: 0 / 1.254 GB, free: 5.684 MB / 1.014 GB Notification: Performance of Templates: time 0.6705/1.482, allocations: 31.18 MB / 1.285 GB, free: 179.8 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches