Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001109/0.001109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004367, allocations: 13.72 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.39, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01134/0.4014, allocations: 9.073 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006818/0.4083, allocations: 3.023 MB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4094, allocations: 27.81 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.4103, allocations: 178.6 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.4127, allocations: 0.6223 MB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.4146, allocations: 0.5251 MB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004906/0.4195, allocations: 3.514 MB / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005855/0.4254, allocations: 2.707 MB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.4279, allocations: 0.9614 MB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.4312, allocations: 1.441 MB / 1.08 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008897/0.4322, allocations: 116 kB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.4339, allocations: 259.8 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.4358, allocations: 0.9198 MB / 1.081 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.4369, allocations: 388.7 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.4419, allocations: 2.996 MB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.4419, allocations: 0 / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.526e-06/0.4419, allocations: 0 / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001537/0.4421, allocations: 0 / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005839/0.4479, allocations: 1.795 MB / 1.086 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.448, allocations: 8.031 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008826/0.4568, allocations: 1.308 MB / 1.087 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.4608, allocations: 1.227 MB / 1.088 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4611, allocations: 111 kB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.4621, allocations: 152 kB / 1.089 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/0.4722, allocations: 3.421 MB / 1.092 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/0.4723, allocations: 4 kB / 1.092 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005038/0.4728, allocations: 71.95 kB / 1.092 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/0.4731, allocations: 207.1 kB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/0.4797, allocations: 3.116 MB / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.5007, allocations: 13.59 MB / 1.109 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.5037, allocations: 1.718 MB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.5058, allocations: 1.429 MB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.506, allocations: 9 kB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.506, allocations: 47.56 kB / 1.112 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.665e-06/0.506, allocations: 0 / 1.112 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1288/0.6349, allocations: 35.93 MB / 1.147 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.635, allocations: 69.41 kB / 1.147 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.6369, allocations: 1.042 MB / 1.148 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003431/0.6372, allocations: 53.7 kB / 1.148 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/0.6379, allocations: 0.7951 MB / 1.149 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008334/0.6388, allocations: 0.616 MB / 1.149 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.639, allocations: 40 kB / 1.149 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.6392, allocations: 389.9 kB / 1.15 GB, free: 6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.6424, allocations: 1.924 MB / 1.152 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.6458, allocations: 2.277 MB / 1.154 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.6496, allocations: 2.215 MB / 1.156 GB, free: 15.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.6497, allocations: 4 kB / 1.156 GB, free: 15.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02088/0.6705, allocations: 8.987 MB / 1.165 GB, free: 6.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.6706, allocations: 8 kB / 1.165 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.6707, allocations: 12 kB / 1.165 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/0.6871, allocations: 4.967 MB / 1.17 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/0.688, allocations: 195.6 kB / 1.17 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05635/0.7444, allocations: 35.08 MB / 1.204 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.7463, allocations: 107.8 kB / 1.204 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.7467, allocations: 63.98 kB / 1.204 GB, free: 13.43 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001656/0.7484, allocations: 0.8094 MB / 1.205 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.7488, allocations: 142.3 kB / 1.205 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/0.7683, allocations: 8.859 MB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.7684, allocations: 16 kB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.913e-05/0.7685, allocations: 32 kB / 1.214 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/0.7685, allocations: 7.969 kB / 1.214 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/0.7952, allocations: 13.26 MB / 1.227 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/0.7953, allocations: 4 kB / 1.227 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.7959, allocations: 119.8 kB / 1.227 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.8119, allocations: 4.757 MB / 1.232 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004788/0.8124, allocations: 32 kB / 1.232 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6801/1.493, allocations: 31.39 MB / 1.262 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.493, allocations: 8.156 kB / 1.262 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/1.513, allocations: 8.374 MB / 1.27 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.515, allocations: 0.6138 MB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/1.515, allocations: 35.89 kB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.516, allocations: 90.88 kB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008972/1.517, allocations: 165.7 kB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.517, allocations: 47.84 kB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001047/1.518, allocations: 0.7343 MB / 1.272 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.518, allocations: 2.781 kB / 1.272 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004611/1.523, allocations: 1.006 MB / 1.273 GB, free: 171.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/1.523, allocations: 145.7 kB / 1.273 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009624/1.533, allocations: 5.812 MB / 1.279 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.533, allocations: 1.031 kB / 1.279 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007125/1.54, allocations: 3.796 MB / 1.283 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.542, allocations: 227.4 kB / 1.283 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/1.549, allocations: 5.618 MB / 1.288 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.551, allocations: 1.86 MB / 1.29 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007674/1.552, allocations: 350.6 kB / 1.29 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.552, allocations: 58.41 kB / 1.29 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.552, allocations: 0 / 1.29 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06875/1.621, allocations: 54.43 MB / 1.344 GB, free: 119.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches