Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008056/0.008056, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001683/0.001684, allocations: 188.3 kB / 16.67 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 390.2 MB / 0.6648 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.03 kB / 0.9509 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8892, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02925/0.9185, allocations: 23.42 MB / 1.111 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.9319, allocations: 6.485 MB / 1.117 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.935, allocations: 94.66 kB / 1.117 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004591/0.9396, allocations: 1.5 MB / 1.119 GB, free: 148 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006984/0.9466, allocations: 1.937 MB / 1.121 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.9527, allocations: 1.46 MB / 1.122 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01323/0.9659, allocations: 6.914 MB / 1.129 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.9783, allocations: 6.952 MB / 1.136 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007729/0.986, allocations: 2.874 MB / 1.138 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007731/0.9938, allocations: 3.466 MB / 1.142 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.9956, allocations: 0.5311 MB / 1.142 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.9997, allocations: 1.172 MB / 1.143 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004576/1.004, allocations: 2.468 MB / 1.146 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007087/1.011, allocations: 2.535 MB / 1.148 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01896/1.03, allocations: 8.521 MB / 1.157 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/1.03, allocations: 3.938 kB / 1.157 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.564e-06/1.03, allocations: 0 / 1.157 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0005818/1.031, allocations: 1.312 kB / 1.157 GB, free: 14.55 MB / 0.9044 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.01744/1.048, allocations: 4.428 MB / 1.161 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.049, allocations: 9.5 kB / 1.161 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009186/1.058, allocations: 1.679 MB / 1.163 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/1.065, allocations: 2.693 MB / 1.165 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/1.065, allocations: 279.2 kB / 1.165 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/1.067, allocations: 360.5 kB / 1.166 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/1.083, allocations: 7.493 MB / 1.173 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/1.083, allocations: 14.25 kB / 1.173 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007914/1.084, allocations: 156.6 kB / 1.173 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007892/1.085, allocations: 486.8 kB / 1.174 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/1.102, allocations: 5.701 MB / 1.179 GB, free: 148 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/1.147, allocations: 31.5 MB / 1.21 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/1.15, allocations: 2.093 MB / 1.212 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/1.153, allocations: 2.178 MB / 1.214 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/1.153, allocations: 17.25 kB / 1.214 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.153, allocations: 51.88 kB / 1.214 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/1.153, allocations: 0 / 1.214 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.2607/1.414, allocations: 77.02 MB / 1.29 GB, free: 12.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.414, allocations: 77.41 kB / 1.29 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/1.416, allocations: 1.674 MB / 1.291 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005094/1.417, allocations: 65.7 kB / 1.291 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.418, allocations: 1.755 MB / 1.293 GB, free: 8.688 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.419, allocations: 0.847 MB / 1.294 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/1.42, allocations: 485.2 kB / 1.294 GB, free: 7.348 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/1.42, allocations: 305.1 kB / 1.295 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/1.424, allocations: 2.726 MB / 1.297 GB, free: 4.316 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/1.428, allocations: 3.332 MB / 1.301 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/1.437, allocations: 6.397 MB / 1.307 GB, free: 10.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/1.437, allocations: 4 kB / 1.307 GB, free: 10.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03127/1.468, allocations: 14.68 MB / 1.321 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/1.468, allocations: 12 kB / 1.321 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.468, allocations: 19.98 kB / 1.321 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02877/1.497, allocations: 9.24 MB / 1.33 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.498, allocations: 303.4 kB / 1.33 GB, free: 1.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08032/1.578, allocations: 52.33 MB / 1.382 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/1.582, allocations: 223.7 kB / 1.382 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/1.582, allocations: 96 kB / 1.382 GB, free: 12.23 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 {(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.003456/1.586, allocations: 1.582 MB / 1.383 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006674/1.586, allocations: 249 kB / 1.384 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/1.618, allocations: 14.76 MB / 1.398 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.618, allocations: 24 kB / 1.398 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/1.618, allocations: 52.33 kB / 1.398 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/1.618, allocations: 11.95 kB / 1.398 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04093/1.659, allocations: 20.51 MB / 1.418 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/1.659, allocations: 4 kB / 1.418 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/1.66, allocations: 163.7 kB / 1.418 GB, free: 6.617 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02759/1.688, allocations: 9.008 MB / 1.427 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005554/1.688, allocations: 52 kB / 1.427 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07874/1.767, allocations: 51.91 MB / 1.478 GB, free: 8.73 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/1.767, allocations: 8 kB / 1.478 GB, free: 8.723 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03154/1.799, allocations: 14.37 MB / 1.492 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.801, allocations: 0.8493 MB / 1.493 GB, free: 9.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/1.802, allocations: 47.91 kB / 1.493 GB, free: 9.293 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.804, allocations: 211.7 kB / 1.493 GB, free: 9.086 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/1.805, allocations: 249.4 kB / 1.493 GB, free: 8.844 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.806, allocations: 64 kB / 1.493 GB, free: 8.781 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00174/1.807, allocations: 1.125 MB / 1.494 GB, free: 7.633 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.807, allocations: 0 / 1.494 GB, free: 7.633 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005649/1.813, allocations: 1.613 MB / 1.496 GB, free: 6.02 MB / 1.232 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.0004665/1.814, allocations: 163.5 kB / 1.496 GB, free: 5.852 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.836, allocations: 10.55 MB / 1.506 GB, free: 11.22 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.836, allocations: 0.875 kB / 1.506 GB, free: 11.22 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01707/1.853, allocations: 7.302 MB / 1.514 GB, free: 3.848 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/1.856, allocations: 0.5627 MB / 1.514 GB, free: 3.301 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.875, allocations: 8.693 MB / 1.523 GB, free: 10.52 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004516/1.88, allocations: 3.22 MB / 1.526 GB, free: 7.266 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00128/1.881, allocations: 391.3 kB / 1.526 GB, free: 6.879 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/1.882, allocations: 107.4 kB / 1.526 GB, free: 6.773 MB / 1.264 GB Notification: Performance of SimCode: time 7.72e-07/1.882, allocations: 0 / 1.526 GB, free: 6.773 MB / 1.264 GB Notification: Performance of Templates: time 0.8246/2.706, allocations: 92.7 MB / 1.617 GB, free: 413.9 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches