Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001297/0.001296, allocations: 104.8 kB / 15.98 MB, free: 6.352 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.001247/0.001247, allocations: 193 kB / 16.91 MB, free: 6.184 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.7423 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.55 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3429, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.5881/0.931, allocations: 22.41 MB / 1.086 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.9414, allocations: 6.184 MB / 1.092 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.9441, allocations: 85.53 kB / 1.092 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.9482, allocations: 1.415 MB / 1.093 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.9535, allocations: 1.52 MB / 1.095 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.9576, allocations: 1.224 MB / 1.096 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008808/0.9664, allocations: 5.962 MB / 1.102 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.9797, allocations: 7.249 MB / 1.109 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.9852, allocations: 2.452 MB / 1.111 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006116/0.9913, allocations: 3.03 MB / 1.114 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.9935, allocations: 460.7 kB / 1.114 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/0.9983, allocations: 1.098 MB / 1.116 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005112/1.003, allocations: 2.036 MB / 1.118 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007587/1.011, allocations: 2.171 MB / 1.12 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/1.024, allocations: 6.191 MB / 1.126 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.024, allocations: 0.5625 kB / 1.126 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.024, allocations: 1.094 kB / 1.126 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003287/1.024, allocations: 0 / 1.126 GB, free: 12.39 MB / 0.8575 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.01749/1.042, allocations: 3.812 MB / 1.129 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.042, allocations: 9.688 kB / 1.129 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008681/1.05, allocations: 1.217 MB / 1.131 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007652/1.058, allocations: 2.219 MB / 1.133 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/1.059, allocations: 234.4 kB / 1.133 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/1.061, allocations: 318.1 kB / 1.133 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/1.08, allocations: 6.213 MB / 1.139 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002931/1.081, allocations: 18.03 kB / 1.139 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002032/1.083, allocations: 145.6 kB / 1.14 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007526/1.084, allocations: 404.7 kB / 1.14 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/1.096, allocations: 4.66 MB / 1.145 GB, free: 2.289 MB / 0.8575 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.04183/1.137, allocations: 29.13 MB / 1.173 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/1.14, allocations: 1.43 MB / 1.174 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/1.142, allocations: 1.482 MB / 1.176 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/1.142, allocations: 13 kB / 1.176 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/1.142, allocations: 47.56 kB / 1.176 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/1.142, allocations: 0 / 1.176 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1348/1.277, allocations: 37.22 MB / 1.212 GB, free: 332 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.277, allocations: 73.41 kB / 1.212 GB, free: 248 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/1.28, allocations: 1.427 MB / 1.214 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.28, allocations: 57.64 kB / 1.214 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.281, allocations: 1.542 MB / 1.215 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/1.282, allocations: 0.6084 MB / 1.216 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009774/1.283, allocations: 379.3 kB / 1.216 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/1.283, allocations: 305.1 kB / 1.216 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.286, allocations: 1.788 MB / 1.218 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/1.289, allocations: 2.342 MB / 1.221 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/1.295, allocations: 4.398 MB / 1.225 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.832e-05/1.295, allocations: 4 kB / 1.225 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01858/1.313, allocations: 8.567 MB / 1.233 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/1.314, allocations: 12 kB / 1.233 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/1.314, allocations: 16 kB / 1.233 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/1.329, allocations: 4.675 MB / 1.238 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.33, allocations: 299.4 kB / 1.238 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04901/1.379, allocations: 32.62 MB / 1.27 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.382, allocations: 147.8 kB / 1.27 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004907/1.383, allocations: 83.98 kB / 1.27 GB, free: 3.535 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 (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.00324/1.386, allocations: 1.328 MB / 1.271 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/1.387, allocations: 201.6 kB / 1.272 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/1.405, allocations: 8.441 MB / 1.28 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/1.405, allocations: 16 kB / 1.28 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/1.405, allocations: 31.94 kB / 1.28 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/1.405, allocations: 7.969 kB / 1.28 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.433, allocations: 12.84 MB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.433, allocations: 8 kB / 1.292 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/1.434, allocations: 171.7 kB / 1.293 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/1.449, allocations: 4.522 MB / 1.297 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004279/1.449, allocations: 40 kB / 1.297 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04806/1.498, allocations: 32.22 MB / 1.329 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.498, allocations: 7.938 kB / 1.329 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.515, allocations: 8.233 MB / 1.337 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/1.518, allocations: 0.6156 MB / 1.337 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009842/1.519, allocations: 43.98 kB / 1.337 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.521, allocations: 135.8 kB / 1.337 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/1.522, allocations: 168.9 kB / 1.338 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.522, allocations: 48 kB / 1.338 GB, free: 13.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002057/1.524, allocations: 0.9588 MB / 1.339 GB, free: 12.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.91e-07/1.524, allocations: 8 kB / 1.339 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005273/1.529, allocations: 1.113 MB / 1.34 GB, free: 11.14 MB / 1.061 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.0005373/1.53, allocations: 151 kB / 1.34 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.544, allocations: 7.062 MB / 1.347 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.544, allocations: 4 kB / 1.347 GB, free: 3.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.009901/1.554, allocations: 4.37 MB / 1.351 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.559, allocations: 0.5215 MB / 1.351 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.579, allocations: 8.95 MB / 1.36 GB, free: 5.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005913/1.585, allocations: 2.805 MB / 1.363 GB, free: 2.988 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/1.585, allocations: 103.4 kB / 1.363 GB, free: 2.887 MB / 1.076 GB Notification: Performance of SimCode: time 2.033e-06/1.585, allocations: 0 / 1.363 GB, free: 2.887 MB / 1.076 GB Notification: Performance of Templates: time 0.1784/1.764, allocations: 154 MB / 1.513 GB, free: 8.793 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches