Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007778/0.007778, allocations: 99.22 kB / 15.73 MB, free: 6.012 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.001898/0.001898, allocations: 196 kB / 16.68 MB, free: 5.93 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.14 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8603, allocations: 159.1 MB / 1.221 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02948/0.8898, allocations: 23.47 MB / 1.244 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.902, allocations: 6.492 MB / 1.25 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/0.9045, allocations: 95.56 kB / 1.25 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.9091, allocations: 1.531 MB / 1.251 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.9144, allocations: 1.933 MB / 1.253 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.9193, allocations: 1.464 MB / 1.255 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008644/0.928, allocations: 6.908 MB / 1.262 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008864/0.9369, allocations: 5.199 MB / 1.267 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.9418, allocations: 2.87 MB / 1.269 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.9482, allocations: 3.482 MB / 1.273 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.9499, allocations: 0.5273 MB / 1.273 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.9535, allocations: 1.17 MB / 1.274 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00395/0.9574, allocations: 2.533 MB / 1.277 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005256/0.9627, allocations: 2.536 MB / 1.279 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.9774, allocations: 8.535 MB / 1.288 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.9774, allocations: 0 / 1.288 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9774, allocations: 0 / 1.288 GB, free: 13.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003781/0.9778, allocations: 0 / 1.288 GB, free: 13.04 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01807/0.9958, allocations: 4.555 MB / 1.292 GB, free: 8.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.9959, allocations: 8.031 kB / 1.292 GB, free: 8.402 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.014, allocations: 1.703 MB / 1.294 GB, free: 6.695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/1.026, allocations: 2.709 MB / 1.297 GB, free: 3.934 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/1.027, allocations: 279.7 kB / 1.297 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/1.029, allocations: 364.3 kB / 1.297 GB, free: 3.305 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/1.06, allocations: 7.487 MB / 1.304 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000232/1.06, allocations: 15.92 kB / 1.304 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/1.062, allocations: 155.9 kB / 1.305 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/1.063, allocations: 483.4 kB / 1.305 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/1.084, allocations: 5.701 MB / 1.311 GB, free: 5.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06986/1.154, allocations: 31.54 MB / 1.341 GB, free: 2.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/1.16, allocations: 2.02 MB / 1.343 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005649/1.165, allocations: 2.112 MB / 1.345 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/1.165, allocations: 13.31 kB / 1.345 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.166, allocations: 47.88 kB / 1.346 GB, free: 14.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 7.004e-06/1.166, allocations: 0 / 1.346 GB, free: 14.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.3478/1.513, allocations: 76.79 MB / 1.421 GB, free: 1.742 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.513, allocations: 77.41 kB / 1.421 GB, free: 1.652 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/1.516, allocations: 1.678 MB / 1.422 GB, free: 15.93 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005139/1.517, allocations: 65.7 kB / 1.422 GB, free: 15.86 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.518, allocations: 1.792 MB / 1.424 GB, free: 14.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.519, allocations: 0.8985 MB / 1.425 GB, free: 13.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/1.52, allocations: 485.4 kB / 1.425 GB, free: 12.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.52, allocations: 305.1 kB / 1.426 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/1.524, allocations: 2.734 MB / 1.428 GB, free: 9.625 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/1.529, allocations: 3.328 MB / 1.432 GB, free: 6.055 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/1.538, allocations: 6.401 MB / 1.438 GB, free: 15.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/1.538, allocations: 4 kB / 1.438 GB, free: 15.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03186/1.57, allocations: 14.4 MB / 1.452 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/1.57, allocations: 16 kB / 1.452 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.57, allocations: 16 kB / 1.452 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02959/1.6, allocations: 9.236 MB / 1.461 GB, free: 7.664 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.601, allocations: 307.4 kB / 1.461 GB, free: 7.363 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08413/1.686, allocations: 52.41 MB / 1.512 GB, free: 2.074 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.689, allocations: 231.6 kB / 1.513 GB, free: 1.848 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006489/1.689, allocations: 96 kB / 1.513 GB, free: 1.754 MB / 1.232 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003556/1.693, allocations: 1.579 MB / 1.514 GB, free: 168 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009283/1.694, allocations: 262.6 kB / 1.515 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03292/1.727, allocations: 14.47 MB / 1.529 GB, free: 1.375 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/1.727, allocations: 24 kB / 1.529 GB, free: 1.352 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002234/1.727, allocations: 48 kB / 1.529 GB, free: 1.305 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-05/1.727, allocations: 11.95 kB / 1.529 GB, free: 1.293 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04543/1.773, allocations: 20.24 MB / 1.549 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/1.773, allocations: 8 kB / 1.549 GB, free: 12.85 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/1.773, allocations: 167.7 kB / 1.549 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02901/1.802, allocations: 9.003 MB / 1.557 GB, free: 3.652 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006724/1.803, allocations: 51.98 kB / 1.558 GB, free: 3.602 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.796/2.599, allocations: 51.95 MB / 1.608 GB, free: 298.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/2.599, allocations: 10.88 kB / 1.608 GB, free: 298.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02676/2.626, allocations: 14.09 MB / 1.622 GB, free: 286.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/2.628, allocations: 0.8546 MB / 1.623 GB, free: 285.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/2.628, allocations: 51.98 kB / 1.623 GB, free: 285.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/2.63, allocations: 207.7 kB / 1.623 GB, free: 284.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/2.632, allocations: 245.2 kB / 1.623 GB, free: 284.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/2.632, allocations: 64 kB / 1.623 GB, free: 284.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001296/2.633, allocations: 1.129 MB / 1.625 GB, free: 283.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/2.633, allocations: 0 / 1.625 GB, free: 283.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004958/2.638, allocations: 1.617 MB / 1.626 GB, free: 281.9 MB / 1.279 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004282/2.638, allocations: 166.8 kB / 1.626 GB, free: 281.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01812/2.657, allocations: 10.2 MB / 1.636 GB, free: 271.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.657, allocations: 0 / 1.636 GB, free: 271.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01406/2.671, allocations: 7.025 MB / 1.643 GB, free: 264.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/2.674, allocations: 0.5553 MB / 1.644 GB, free: 263.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/2.686, allocations: 8.811 MB / 1.652 GB, free: 255 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/2.689, allocations: 3.224 MB / 1.655 GB, free: 251.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009502/2.69, allocations: 395.3 kB / 1.656 GB, free: 251.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/2.69, allocations: 95.44 kB / 1.656 GB, free: 251.2 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/2.69, allocations: 0 / 1.656 GB, free: 251.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1157/2.806, allocations: 93.47 MB / 1.747 GB, free: 158 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches