Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0009329/0.0009331, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001155/0.001155, allocations: 171.9 kB / 16.26 MB, free: 6.332 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.571/1.571, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.108/3.108, allocations: 470.6 MB / 0.7442 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 12.28 kB / 0.9123 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03134/0.3772, allocations: 25.73 MB / 1.095 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.3921, allocations: 8.001 MB / 1.103 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.3946, allocations: 95.44 kB / 1.103 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.3963, allocations: 0.5193 MB / 1.103 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.4006, allocations: 1.493 MB / 1.105 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.4043, allocations: 1.401 MB / 1.106 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4152, allocations: 8.7 MB / 1.115 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.431, allocations: 9.16 MB / 1.124 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.4351, allocations: 1.855 MB / 1.126 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.4399, allocations: 2.46 MB / 1.128 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006625/0.4405, allocations: 212 kB / 1.128 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.4435, allocations: 1.197 MB / 1.129 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.4456, allocations: 1.672 MB / 1.131 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002979/0.4486, allocations: 1.961 MB / 1.133 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.458, allocations: 7.69 MB / 1.14 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.458, allocations: 0 / 1.14 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.636e-06/0.458, allocations: 0 / 1.14 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000324/0.4584, allocations: 0 / 1.14 GB, free: 2.953 MB / 0.8887 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.00921/0.4676, allocations: 3.417 MB / 1.144 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.4677, allocations: 15.97 kB / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.473, allocations: 0.8 MB / 1.144 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/0.4785, allocations: 2.424 MB / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.4788, allocations: 271.6 kB / 1.147 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.4802, allocations: 380.5 kB / 1.147 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.4942, allocations: 5.99 MB / 1.153 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.4943, allocations: 19.83 kB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004356/0.4948, allocations: 160 kB / 1.153 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006515/0.4954, allocations: 282.8 kB / 1.154 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5057, allocations: 4.524 MB / 1.158 GB, free: 316 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03742/0.5432, allocations: 27.7 MB / 1.185 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.5452, allocations: 1.116 MB / 1.186 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5468, allocations: 1.023 MB / 1.187 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.5468, allocations: 13 kB / 1.187 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.5469, allocations: 43.56 kB / 1.187 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.536e-06/0.5469, allocations: 4 kB / 1.187 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02479/0.5717, allocations: 9.68 MB / 1.197 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.5718, allocations: 68.72 kB / 1.197 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.5742, allocations: 1.494 MB / 1.198 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.5744, allocations: 49.7 kB / 1.198 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5759, allocations: 1.667 MB / 1.2 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.5765, allocations: 469.3 kB / 1.2 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.5768, allocations: 141.6 kB / 1.201 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5769, allocations: 317 kB / 1.201 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.5786, allocations: 0.9096 MB / 1.202 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.5806, allocations: 1.467 MB / 1.203 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/0.5844, allocations: 2.546 MB / 1.206 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5844, allocations: 4 kB / 1.206 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007423/0.5918, allocations: 3.29 MB / 1.209 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.5919, allocations: 12 kB / 1.209 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/0.592, allocations: 19.94 kB / 1.209 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.5945, allocations: 0.7375 MB / 1.21 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.5963, allocations: 383.4 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.6142, allocations: 15.78 MB / 1.225 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.616, allocations: 99.84 kB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.6161, allocations: 76 kB / 1.226 GB, free: 6.684 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002422/0.6186, allocations: 1.314 MB / 1.227 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.619, allocations: 197.7 kB / 1.227 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.6246, allocations: 2.788 MB / 1.23 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.6246, allocations: 12 kB / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6246, allocations: 8 kB / 1.23 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6247, allocations: 8.109 kB / 1.23 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.6357, allocations: 6.224 MB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.6358, allocations: 4 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.637, allocations: 239.6 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.6392, allocations: 0.6635 MB / 1.237 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.6393, allocations: 32 kB / 1.237 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6515/1.291, allocations: 15.51 MB / 1.252 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.291, allocations: 6.531 kB / 1.252 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006721/1.298, allocations: 4.013 MB / 1.256 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.299, allocations: 456.7 kB / 1.256 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.299, allocations: 34.78 kB / 1.256 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/1.3, allocations: 83.19 kB / 1.256 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/1.3, allocations: 115.6 kB / 1.257 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/1.3, allocations: 40.47 kB / 1.257 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001218/1.302, allocations: 0.994 MB / 1.258 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.302, allocations: 3.844 kB / 1.258 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002172/1.304, allocations: 0.6867 MB / 1.258 GB, free: 158.5 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/1.304, allocations: 150.5 kB / 1.258 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004896/1.309, allocations: 3.49 MB / 1.262 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.309, allocations: 6.781 kB / 1.262 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.312, allocations: 2.295 MB / 1.264 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/1.316, allocations: 0.6195 MB / 1.265 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.328, allocations: 8.208 MB / 1.273 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.332, allocations: 2.672 MB / 1.275 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001919/1.334, allocations: 483.8 kB / 1.276 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/1.334, allocations: 117.8 kB / 1.276 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.334, allocations: 0 / 1.276 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06406/1.398, allocations: 32.06 MB / 1.307 GB, free: 140.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches