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.009366/0.009366, allocations: 97.31 kB / 15.73 MB, free: 6.055 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.002375/0.002375, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.09 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3011, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02369/0.3248, allocations: 22.65 MB / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3354, allocations: 6.24 MB / 1.249 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3373, allocations: 95.5 kB / 1.249 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.6471/0.9844, allocations: 1.567 MB / 1.25 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.9897, allocations: 1.725 MB / 1.252 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.9933, allocations: 1.348 MB / 1.253 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.003, allocations: 5.935 MB / 1.259 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006489/1.01, allocations: 4.473 MB / 1.264 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/1.015, allocations: 2.449 MB / 1.266 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006153/1.021, allocations: 2.874 MB / 1.269 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002004/1.023, allocations: 458.4 kB / 1.269 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/1.027, allocations: 1.1 MB / 1.27 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003784/1.031, allocations: 2.081 MB / 1.272 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005491/1.037, allocations: 2.167 MB / 1.274 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.048, allocations: 7.317 MB / 1.282 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.048, allocations: 0 / 1.282 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.048, allocations: 0 / 1.282 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002121/1.048, allocations: 1.281 kB / 1.282 GB, free: 7.035 MB / 0.9981 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.0104/1.058, allocations: 3.914 MB / 1.285 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.058, allocations: 9.219 kB / 1.285 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006997/1.065, allocations: 1.227 MB / 1.287 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/1.072, allocations: 2.348 MB / 1.289 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/1.072, allocations: 242.2 kB / 1.289 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/1.074, allocations: 322.7 kB / 1.289 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/1.086, allocations: 6.219 MB / 1.296 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-05/1.086, allocations: 13.06 kB / 1.296 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/1.087, allocations: 139.3 kB / 1.296 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005221/1.087, allocations: 409.5 kB / 1.296 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/1.099, allocations: 4.879 MB / 1.301 GB, free: 15.73 MB / 1.014 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.04318/1.142, allocations: 28.99 MB / 1.329 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/1.145, allocations: 1.367 MB / 1.331 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.147, allocations: 1.455 MB / 1.332 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/1.147, allocations: 11.5 kB / 1.332 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.147, allocations: 44.66 kB / 1.332 GB, free: 5.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 2.745e-06/1.147, allocations: 0 / 1.332 GB, free: 5.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1364/1.284, allocations: 37.15 MB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.284, allocations: 73.41 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/1.286, allocations: 1.419 MB / 1.37 GB, free: 9.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000391/1.286, allocations: 53.7 kB / 1.37 GB, free: 9.027 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.287, allocations: 1.585 MB / 1.371 GB, free: 7.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/1.288, allocations: 0.6469 MB / 1.372 GB, free: 6.793 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009473/1.289, allocations: 379.5 kB / 1.372 GB, free: 6.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/1.289, allocations: 305.1 kB / 1.373 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/1.292, allocations: 1.784 MB / 1.374 GB, free: 4.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/1.295, allocations: 2.353 MB / 1.377 GB, free: 1.723 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/1.302, allocations: 4.388 MB / 1.381 GB, free: 13.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.302, allocations: 8 kB / 1.381 GB, free: 13.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01785/1.32, allocations: 8.423 MB / 1.389 GB, free: 4.633 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.32, allocations: 16 kB / 1.389 GB, free: 4.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.339e-05/1.32, allocations: 17.03 kB / 1.389 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/1.335, allocations: 4.645 MB / 1.394 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.337, allocations: 303.4 kB / 1.394 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04929/1.386, allocations: 32.62 MB / 1.426 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/1.388, allocations: 151.8 kB / 1.426 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/1.389, allocations: 83.98 kB / 1.426 GB, free: 13.99 MB / 1.123 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.002619/1.391, allocations: 1.321 MB / 1.427 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/1.392, allocations: 210.7 kB / 1.428 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.41, allocations: 8.289 MB / 1.436 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.41, allocations: 16 kB / 1.436 GB, free: 4.098 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.631e-05/1.41, allocations: 27.98 kB / 1.436 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.41, allocations: 11.62 kB / 1.436 GB, free: 4.062 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.437, allocations: 12.71 MB / 1.448 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/1.437, allocations: 8 kB / 1.448 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/1.438, allocations: 167.7 kB / 1.448 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/1.453, allocations: 4.491 MB / 1.453 GB, free: 2.535 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003823/1.454, allocations: 32 kB / 1.453 GB, free: 2.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04792/1.502, allocations: 32.23 MB / 1.484 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.502, allocations: 11.94 kB / 1.484 GB, free: 1.449 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.519, allocations: 8.108 MB / 1.492 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.521, allocations: 0.6177 MB / 1.493 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007961/1.522, allocations: 39.98 kB / 1.493 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.524, allocations: 143.8 kB / 1.493 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009509/1.525, allocations: 168.9 kB / 1.493 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.525, allocations: 52 kB / 1.493 GB, free: 8.188 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002097/1.527, allocations: 0.9549 MB / 1.494 GB, free: 7.238 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/1.527, allocations: 0 / 1.494 GB, free: 7.238 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004879/1.532, allocations: 1.117 MB / 1.495 GB, free: 6.121 MB / 1.186 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.0004804/1.532, allocations: 156.1 kB / 1.495 GB, free: 5.961 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.546, allocations: 6.309 MB / 1.501 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.546, allocations: 0 / 1.501 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.009505/1.556, allocations: 4.199 MB / 1.506 GB, free: 11.33 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/1.559, allocations: 0.5212 MB / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.573, allocations: 6.912 MB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/1.577, allocations: 2.727 MB / 1.515 GB, free: 1.051 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001175/1.578, allocations: 380.6 kB / 1.516 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/1.578, allocations: 99.44 kB / 1.516 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of SimCode: time 9.21e-07/1.578, allocations: 0 / 1.516 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of Templates: time 0.0964/1.675, allocations: 61.61 MB / 1.576 GB, free: 3.305 MB / 1.264 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=480 -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