Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009707, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006066/0.006066, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 9 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02188/0.3408, allocations: 19.5 MB / 1.078 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3521, allocations: 6.383 MB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.3546, allocations: 75.62 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3564, allocations: 404.8 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.3606, allocations: 1.108 MB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.364, allocations: 1.087 MB / 1.087 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007892/0.3719, allocations: 6.968 MB / 1.093 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.3844, allocations: 7.267 MB / 1.1 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.3893, allocations: 1.49 MB / 1.102 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/0.3934, allocations: 2.028 MB / 1.104 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3944, allocations: 176 kB / 1.104 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.3972, allocations: 0.9164 MB / 1.105 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.3996, allocations: 1.352 MB / 1.106 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.4032, allocations: 1.568 MB / 1.108 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008145/0.4114, allocations: 6.21 MB / 1.114 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4114, allocations: 0 / 1.114 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4114, allocations: 0 / 1.114 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002542/0.4117, allocations: 0 / 1.114 GB, free: 12.72 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008343/0.42, allocations: 2.812 MB / 1.117 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4201, allocations: 19.97 kB / 1.117 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.4244, allocations: 0.6371 MB / 1.117 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.429, allocations: 1.932 MB / 1.119 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.4293, allocations: 222.3 kB / 1.119 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.4307, allocations: 300.2 kB / 1.12 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.4428, allocations: 4.898 MB / 1.124 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.443, allocations: 11.84 kB / 1.124 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007018/0.4437, allocations: 128 kB / 1.125 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006098/0.4443, allocations: 229.7 kB / 1.125 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.4563, allocations: 3.75 MB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.4916, allocations: 21.62 MB / 1.15 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.4943, allocations: 1.305 MB / 1.151 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.4963, allocations: 1.03 MB / 1.152 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.4964, allocations: 17 kB / 1.152 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.4964, allocations: 43.56 kB / 1.152 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 4.348e-06/0.4965, allocations: 3.938 kB / 1.152 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.03629/0.5328, allocations: 8.719 MB / 1.16 GB, free: 10.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.5329, allocations: 64.72 kB / 1.16 GB, free: 10.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.535, allocations: 1.134 MB / 1.162 GB, free: 9.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.5352, allocations: 45.7 kB / 1.162 GB, free: 9.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.5363, allocations: 1.3 MB / 1.163 GB, free: 8.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005683/0.5369, allocations: 489 kB / 1.163 GB, free: 7.574 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.5372, allocations: 129.6 kB / 1.163 GB, free: 7.441 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5373, allocations: 305.1 kB / 1.164 GB, free: 7.141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.5391, allocations: 0.9096 MB / 1.165 GB, free: 6.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.541, allocations: 1.33 MB / 1.166 GB, free: 4.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.5448, allocations: 2.422 MB / 1.168 GB, free: 2.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.5448, allocations: 7.984 kB / 1.168 GB, free: 2.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007045/0.5519, allocations: 3.46 MB / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5519, allocations: 12.19 kB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.552, allocations: 16 kB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/0.5553, allocations: 1.185 MB / 1.173 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5565, allocations: 255.6 kB / 1.173 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.5734, allocations: 12.76 MB / 1.186 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.5751, allocations: 91.97 kB / 1.186 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.5755, allocations: 64 kB / 1.186 GB, free: 15.88 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002685/0.5782, allocations: 1.119 MB / 1.187 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/0.5787, allocations: 162 kB / 1.187 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.585, allocations: 3.165 MB / 1.19 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.585, allocations: 15.94 kB / 1.19 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/0.5851, allocations: 19.98 kB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.5851, allocations: 11.92 kB / 1.19 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.5962, allocations: 6.241 MB / 1.196 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.5963, allocations: 4 kB / 1.196 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.5969, allocations: 147.8 kB / 1.196 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.5998, allocations: 1.08 MB / 1.197 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5999, allocations: 28 kB / 1.197 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.6157, allocations: 12.44 MB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.6157, allocations: 7.938 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.6211, allocations: 3.154 MB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.622, allocations: 438.9 kB / 1.213 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.6223, allocations: 27.98 kB / 1.213 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.6233, allocations: 87.83 kB / 1.213 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.6237, allocations: 128.7 kB / 1.213 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.6238, allocations: 40 kB / 1.213 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001134/0.6249, allocations: 0.7632 MB / 1.214 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6249, allocations: 0 / 1.214 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002135/0.6271, allocations: 0.664 MB / 1.215 GB, free: 1.461 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000257/0.6273, allocations: 140.7 kB / 1.215 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005131/0.6325, allocations: 3.131 MB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6325, allocations: 0 / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/0.6356, allocations: 1.964 MB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.6388, allocations: 462.9 kB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6492, allocations: 6.765 MB / 1.227 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/0.652, allocations: 2.34 MB / 1.229 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001247/0.6532, allocations: 350.1 kB / 1.23 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6535, allocations: 87.44 kB / 1.23 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/0.6535, allocations: 0 / 1.23 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.6683/1.322, allocations: 30.93 MB / 1.26 GB, free: 167.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches