Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009467/0.009467, allocations: 96.92 kB / 15.73 MB, free: 6.484 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.002577/0.002577, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.887/2.887, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 67.88 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3256, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02756/0.3532, allocations: 22.59 MB / 1.189 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3644, allocations: 6.233 MB / 1.195 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.3666, allocations: 95.5 kB / 1.195 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.3715, allocations: 1.55 MB / 1.196 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.3767, allocations: 1.625 MB / 1.198 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.3808, allocations: 1.342 MB / 1.199 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008877/0.3897, allocations: 5.939 MB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00987/0.3996, allocations: 6.041 MB / 1.211 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005486/0.4051, allocations: 2.411 MB / 1.213 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.4111, allocations: 2.87 MB / 1.216 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.4129, allocations: 456 kB / 1.217 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.4163, allocations: 1.104 MB / 1.218 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003007/0.4193, allocations: 2.031 MB / 1.22 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.4222, allocations: 2.17 MB / 1.222 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.4297, allocations: 7.308 MB / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4298, allocations: 0 / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4298, allocations: 0 / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001855/0.43, allocations: 4 kB / 1.229 GB, free: 6.797 MB / 0.9825 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.008306/0.4383, allocations: 3.905 MB / 1.233 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4384, allocations: 8.031 kB / 1.233 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006303/0.4447, allocations: 1.239 MB / 1.234 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.4498, allocations: 2.353 MB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.45, allocations: 242.3 kB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007723/0.4508, allocations: 319.9 kB / 1.237 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.4652, allocations: 6.205 MB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/0.4653, allocations: 23.83 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/0.4657, allocations: 139.9 kB / 1.243 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/0.4662, allocations: 406.3 kB / 1.243 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008673/0.475, allocations: 4.662 MB / 1.248 GB, free: 2.922 MB / 0.9981 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.7027/1.178, allocations: 28.99 MB / 1.276 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/1.18, allocations: 1.42 MB / 1.278 GB, free: 52.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/1.182, allocations: 1.491 MB / 1.279 GB, free: 51.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/1.183, allocations: 11.73 kB / 1.279 GB, free: 51.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.183, allocations: 48.19 kB / 1.279 GB, free: 51.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.085e-06/1.183, allocations: 0 / 1.279 GB, free: 51.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179): time 0.1409/1.324, allocations: 37.3 MB / 1.316 GB, free: 42.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.324, allocations: 73.12 kB / 1.316 GB, free: 42.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/1.325, allocations: 1.421 MB / 1.317 GB, free: 41.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002359/1.326, allocations: 53.61 kB / 1.317 GB, free: 41.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/1.326, allocations: 1.588 MB / 1.319 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/1.327, allocations: 0.6455 MB / 1.319 GB, free: 39.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006212/1.327, allocations: 384 kB / 1.32 GB, free: 39.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/1.327, allocations: 301.1 kB / 1.32 GB, free: 39.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.329, allocations: 1.779 MB / 1.322 GB, free: 38.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/1.332, allocations: 2.356 MB / 1.324 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.336, allocations: 4.391 MB / 1.328 GB, free: 33.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.336, allocations: 4 kB / 1.328 GB, free: 33.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01499/1.351, allocations: 8.576 MB / 1.337 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.351, allocations: 12 kB / 1.337 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.351, allocations: 16 kB / 1.337 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/1.364, allocations: 4.644 MB / 1.341 GB, free: 20.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.365, allocations: 299.5 kB / 1.341 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04203/1.407, allocations: 32.62 MB / 1.373 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.41, allocations: 147.8 kB / 1.373 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005788/1.411, allocations: 84 kB / 1.374 GB, free: 2.277 MB / 1.014 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.003/1.414, allocations: 1.336 MB / 1.375 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/1.414, allocations: 206.7 kB / 1.375 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/1.433, allocations: 8.434 MB / 1.383 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.433, allocations: 20 kB / 1.383 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.038e-05/1.433, allocations: 24 kB / 1.383 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.022e-05/1.433, allocations: 12.2 kB / 1.383 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.46, allocations: 12.84 MB / 1.396 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.46, allocations: 8.844 kB / 1.396 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/1.461, allocations: 167.7 kB / 1.396 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01467/1.476, allocations: 4.484 MB / 1.4 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.476, allocations: 40 kB / 1.4 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04779/1.524, allocations: 32.24 MB / 1.432 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.524, allocations: 8 kB / 1.432 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.542, allocations: 8.257 MB / 1.44 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.543, allocations: 0.6206 MB / 1.441 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/1.544, allocations: 45.77 kB / 1.441 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.546, allocations: 131.8 kB / 1.441 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000815/1.547, allocations: 176.9 kB / 1.441 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.547, allocations: 51.94 kB / 1.441 GB, free: 12.01 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00153/1.548, allocations: 0.9549 MB / 1.442 GB, free: 11.06 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.8e-07/1.548, allocations: 0 / 1.442 GB, free: 11.06 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003862/1.552, allocations: 1.117 MB / 1.443 GB, free: 9.945 MB / 1.092 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.0003632/1.553, allocations: 151 kB / 1.443 GB, free: 9.789 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.565, allocations: 6.535 MB / 1.45 GB, free: 3.18 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.565, allocations: 0 / 1.45 GB, free: 3.18 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.009624/1.575, allocations: 4.398 MB / 1.454 GB, free: 14.71 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/1.579, allocations: 0.5132 MB / 1.454 GB, free: 14.21 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.592, allocations: 6.914 MB / 1.461 GB, free: 7.199 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/1.596, allocations: 2.735 MB / 1.464 GB, free: 4.43 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001198/1.597, allocations: 384.6 kB / 1.464 GB, free: 4.051 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.598, allocations: 95.44 kB / 1.464 GB, free: 3.961 MB / 1.107 GB Notification: Performance of SimCode: time 1.373e-06/1.598, allocations: 0 / 1.464 GB, free: 3.961 MB / 1.107 GB Notification: Performance of Templates: time 0.0985/1.696, allocations: 61.13 MB / 1.524 GB, free: 7.121 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches