Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001625/0.001625, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 2.826/2.826, allocations: 469.8 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 70.72 kB / 0.908 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02634/0.3588, allocations: 22.41 MB / 1.085 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.3693, allocations: 6.186 MB / 1.091 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.3711, allocations: 83.5 kB / 1.091 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.3751, allocations: 1.415 MB / 1.093 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.3792, allocations: 1.517 MB / 1.094 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.383, allocations: 1.226 MB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007868/0.3909, allocations: 5.955 MB / 1.101 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.4013, allocations: 7.254 MB / 1.108 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.4051, allocations: 2.453 MB / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.4094, allocations: 3.038 MB / 1.114 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008355/0.4103, allocations: 456 kB / 1.114 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4125, allocations: 1.1 MB / 1.115 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.4149, allocations: 2.035 MB / 1.117 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003231/0.4181, allocations: 2.17 MB / 1.119 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008433/0.4266, allocations: 7.299 MB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4266, allocations: 0 / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4266, allocations: 4 kB / 1.127 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001593/0.4268, allocations: 0 / 1.127 GB, free: 13.78 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007631/0.4344, allocations: 3.809 MB / 1.13 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4345, allocations: 12.03 kB / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.4404, allocations: 1.206 MB / 1.131 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.4449, allocations: 2.223 MB / 1.134 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4451, allocations: 242.4 kB / 1.134 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007823/0.4459, allocations: 319.7 kB / 1.134 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.4574, allocations: 6.216 MB / 1.14 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/0.4576, allocations: 11.94 kB / 1.14 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/0.4579, allocations: 139.9 kB / 1.14 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005122/0.4584, allocations: 410.2 kB / 1.141 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008186/0.4666, allocations: 4.658 MB / 1.145 GB, free: 10.16 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.5009, allocations: 29.14 MB / 1.174 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.503, allocations: 1.417 MB / 1.175 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.505, allocations: 1.485 MB / 1.177 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.877e-05/0.5051, allocations: 13 kB / 1.177 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.5052, allocations: 47.55 kB / 1.177 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.795e-06/0.5052, allocations: 0 / 1.177 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1377/0.6429, allocations: 37.23 MB / 1.213 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.643, allocations: 77.34 kB / 1.213 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.6464, allocations: 1.423 MB / 1.215 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/0.6468, allocations: 53.7 kB / 1.215 GB, free: 456 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.6483, allocations: 1.543 MB / 1.216 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009957/0.6493, allocations: 0.6084 MB / 1.217 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.6504, allocations: 383.3 kB / 1.217 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6506, allocations: 301.1 kB / 1.217 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.6535, allocations: 1.788 MB / 1.219 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/0.6569, allocations: 2.35 MB / 1.221 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.6631, allocations: 4.387 MB / 1.226 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.6632, allocations: 12 kB / 1.226 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01892/0.6821, allocations: 8.559 MB / 1.234 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.6822, allocations: 16 kB / 1.234 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.6822, allocations: 16 kB / 1.234 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01509/0.6973, allocations: 4.674 MB / 1.239 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6985, allocations: 303.5 kB / 1.239 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5845/1.283, allocations: 32.6 MB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.286, allocations: 152.2 kB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.286, allocations: 86.83 kB / 1.271 GB, free: 158.1 MB / 0.9981 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002281/1.288, allocations: 1.327 MB / 1.272 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/1.289, allocations: 198.1 kB / 1.272 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/1.305, allocations: 8.436 MB / 1.281 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/1.305, allocations: 18.12 kB / 1.281 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/1.305, allocations: 29.75 kB / 1.281 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/1.305, allocations: 11.09 kB / 1.281 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.326, allocations: 12.86 MB / 1.293 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.326, allocations: 3.844 kB / 1.293 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/1.327, allocations: 164.5 kB / 1.293 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01236/1.34, allocations: 4.519 MB / 1.298 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/1.34, allocations: 38.44 kB / 1.298 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03515/1.375, allocations: 32.22 MB / 1.329 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.375, allocations: 8 kB / 1.329 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.389, allocations: 8.24 MB / 1.337 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.391, allocations: 0.6214 MB / 1.338 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/1.391, allocations: 35.94 kB / 1.338 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.392, allocations: 139.8 kB / 1.338 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000736/1.393, allocations: 165 kB / 1.338 GB, free: 112 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.393, allocations: 52 kB / 1.338 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001021/1.394, allocations: 0.9587 MB / 1.339 GB, free: 111 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.394, allocations: 0 / 1.339 GB, free: 111 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00299/1.397, allocations: 1.121 MB / 1.34 GB, free: 109.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/1.397, allocations: 149 kB / 1.341 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.409, allocations: 7.064 MB / 1.347 GB, free: 102.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.409, allocations: 3.938 kB / 1.347 GB, free: 102.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007792/1.416, allocations: 4.375 MB / 1.352 GB, free: 98.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.419, allocations: 0.5128 MB / 1.352 GB, free: 97.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.429, allocations: 8.44 MB / 1.36 GB, free: 89.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.431, allocations: 2.719 MB / 1.363 GB, free: 86.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001039/1.433, allocations: 391.7 kB / 1.364 GB, free: 86.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.433, allocations: 91.44 kB / 1.364 GB, free: 85.92 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.433, allocations: 0 / 1.364 GB, free: 85.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.07698/1.51, allocations: 61.11 MB / 1.423 GB, free: 25.14 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches