Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_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_latest_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_latest_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.0009523/0.0009522, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006473/0.006473, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 9 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3611, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02641/0.3876, allocations: 22.59 MB / 1.081 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4009, allocations: 6.446 MB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.4043, allocations: 79.5 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4064, allocations: 464.5 kB / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.4115, allocations: 1.739 MB / 1.089 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.4147, allocations: 1.201 MB / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.427, allocations: 10.6 MB / 1.101 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01419/0.4412, allocations: 8.069 MB / 1.109 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.4462, allocations: 2.07 MB / 1.111 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/0.4521, allocations: 3.185 MB / 1.114 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.4534, allocations: 244 kB / 1.114 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.4567, allocations: 1.065 MB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003456/0.4602, allocations: 2.112 MB / 1.117 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004258/0.4645, allocations: 2.135 MB / 1.119 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009859/0.4743, allocations: 8.134 MB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4744, allocations: 0 / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4744, allocations: 0 / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003232/0.4747, allocations: 0 / 1.127 GB, free: 15.11 MB / 0.8887 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.008688/0.4834, allocations: 3.562 MB / 1.131 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4835, allocations: 8.031 kB / 1.131 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009372/0.4929, allocations: 1.681 MB / 1.132 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005928/0.4988, allocations: 2.579 MB / 1.135 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.4992, allocations: 283.7 kB / 1.135 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.5009, allocations: 356.3 kB / 1.135 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.5176, allocations: 7.491 MB / 1.143 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.5178, allocations: 15.88 kB / 1.143 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006384/0.5184, allocations: 159.9 kB / 1.143 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006448/0.5191, allocations: 483.3 kB / 1.143 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.5313, allocations: 5.701 MB / 1.149 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.5715, allocations: 31.68 MB / 1.18 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.5747, allocations: 2.086 MB / 1.182 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.5779, allocations: 2.178 MB / 1.184 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.5781, allocations: 13.31 kB / 1.184 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5781, allocations: 47.88 kB / 1.184 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.358e-06/0.5781, allocations: 0 / 1.184 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251): time 0.9432/1.521, allocations: 75.28 MB / 1.258 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/1.521, allocations: 79.45 kB / 1.258 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.524, allocations: 1.666 MB / 1.259 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006582/1.525, allocations: 67.77 kB / 1.259 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.527, allocations: 1.741 MB / 1.261 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.528, allocations: 0.8485 MB / 1.262 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/1.528, allocations: 209.7 kB / 1.262 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/1.528, allocations: 310.4 kB / 1.262 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.533, allocations: 2.729 MB / 1.265 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/1.538, allocations: 3.331 MB / 1.268 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/1.548, allocations: 6.392 MB / 1.275 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/1.548, allocations: 4.5 kB / 1.275 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03419/1.582, allocations: 14.69 MB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/1.582, allocations: 15.84 kB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.582, allocations: 15.88 kB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02851/1.611, allocations: 9.24 MB / 1.298 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.612, allocations: 307 kB / 1.298 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06299/1.675, allocations: 47.14 MB / 1.344 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/1.678, allocations: 223.7 kB / 1.344 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/1.679, allocations: 102.4 kB / 1.345 GB, free: 115.3 MB / 0.9981 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.002861/1.682, allocations: 1.592 MB / 1.346 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/1.682, allocations: 241.1 kB / 1.346 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02959/1.712, allocations: 14.75 MB / 1.361 GB, free: 98.63 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/1.712, allocations: 24.81 kB / 1.361 GB, free: 98.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001419/1.712, allocations: 47.98 kB / 1.361 GB, free: 98.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/1.712, allocations: 11.95 kB / 1.361 GB, free: 98.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/1.749, allocations: 20.52 MB / 1.381 GB, free: 77.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.749, allocations: 4 kB / 1.381 GB, free: 77.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/1.75, allocations: 160.3 kB / 1.381 GB, free: 77.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02756/1.778, allocations: 9.001 MB / 1.39 GB, free: 68.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004554/1.778, allocations: 51.94 kB / 1.39 GB, free: 68.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06205/1.84, allocations: 46.75 MB / 1.436 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.84, allocations: 11.94 kB / 1.436 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02882/1.869, allocations: 14.37 MB / 1.45 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.871, allocations: 0.8459 MB / 1.45 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/1.871, allocations: 48 kB / 1.45 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.874, allocations: 208.9 kB / 1.451 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/1.875, allocations: 245.2 kB / 1.451 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.875, allocations: 67.94 kB / 1.451 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001261/1.876, allocations: 1.125 MB / 1.452 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.876, allocations: 0 / 1.452 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00459/1.881, allocations: 1.613 MB / 1.454 GB, free: 2.379 MB / 0.9981 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.0003887/1.881, allocations: 164.4 kB / 1.454 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02238/1.904, allocations: 10.36 MB / 1.464 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.904, allocations: 0 / 1.464 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/1.922, allocations: 7.16 MB / 1.471 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/1.926, allocations: 0.5187 MB / 1.471 GB, free: 52 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.942, allocations: 10.62 MB / 1.482 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/1.945, allocations: 3.224 MB / 1.485 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001169/1.947, allocations: 391.3 kB / 1.485 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/1.947, allocations: 95.44 kB / 1.485 GB, free: 1.617 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.947, allocations: 0 / 1.485 GB, free: 1.617 MB / 1.029 GB Notification: Performance of Templates: time 0.1357/2.083, allocations: 86.29 MB / 1.57 GB, free: 11.57 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches