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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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.001559/0.001559, allocations: 107 kB / 15.99 MB, free: 6.359 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.001549/0.001549, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 482.4 MB / 0.755 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 77.41 kB / 0.924 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.877, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02987/0.9069, allocations: 23.24 MB / 1.105 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.9211, allocations: 6.441 MB / 1.111 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.9241, allocations: 81.25 kB / 1.111 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.9288, allocations: 1.362 MB / 1.113 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.935, allocations: 1.7 MB / 1.114 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.9396, allocations: 1.343 MB / 1.116 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.9506, allocations: 6.941 MB / 1.123 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01569/0.9664, allocations: 8.133 MB / 1.13 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/0.9733, allocations: 2.88 MB / 1.133 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007198/0.9805, allocations: 3.689 MB / 1.137 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.9829, allocations: 0.5263 MB / 1.137 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.9875, allocations: 1.176 MB / 1.139 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005625/0.9932, allocations: 2.475 MB / 1.141 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.008067/1.001, allocations: 2.528 MB / 1.143 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.013, allocations: 7.24 MB / 1.151 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.013, allocations: 0 / 1.151 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.894e-06/1.013, allocations: 0 / 1.151 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003445/1.013, allocations: 1.281 kB / 1.151 GB, free: 8.188 MB / 0.8731 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.01677/1.03, allocations: 4.432 MB / 1.155 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/1.03, allocations: 8.031 kB / 1.155 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/1.04, allocations: 1.677 MB / 1.157 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007633/1.048, allocations: 2.575 MB / 1.159 GB, free: 412 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/1.048, allocations: 275.7 kB / 1.159 GB, free: 136 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/1.051, allocations: 360.2 kB / 1.16 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/1.071, allocations: 7.487 MB / 1.167 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/1.072, allocations: 19.86 kB / 1.167 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007062/1.072, allocations: 159.9 kB / 1.167 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006785/1.073, allocations: 479.3 kB / 1.168 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/1.086, allocations: 5.709 MB / 1.173 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/1.133, allocations: 31.71 MB / 1.204 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/1.136, allocations: 2.086 MB / 1.206 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/1.139, allocations: 2.178 MB / 1.208 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/1.14, allocations: 17.31 kB / 1.208 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.14, allocations: 51.81 kB / 1.208 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.925e-06/1.14, allocations: 0 / 1.208 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251): time 0.2984/1.438, allocations: 77 MB / 1.284 GB, free: 13.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/1.438, allocations: 81.34 kB / 1.284 GB, free: 13.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/1.442, allocations: 1.677 MB / 1.285 GB, free: 11.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008389/1.443, allocations: 61.7 kB / 1.285 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.445, allocations: 1.747 MB / 1.287 GB, free: 10.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.446, allocations: 0.8549 MB / 1.288 GB, free: 9.168 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/1.448, allocations: 485.2 kB / 1.288 GB, free: 8.688 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.448, allocations: 301.1 kB / 1.289 GB, free: 8.391 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/1.453, allocations: 2.73 MB / 1.291 GB, free: 5.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/1.458, allocations: 3.332 MB / 1.295 GB, free: 2.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.469, allocations: 6.397 MB / 1.301 GB, free: 11.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/1.469, allocations: 4 kB / 1.301 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03666/1.505, allocations: 14.67 MB / 1.315 GB, free: 12.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/1.505, allocations: 14.5 kB / 1.315 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/1.505, allocations: 20 kB / 1.315 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03265/1.538, allocations: 9.297 MB / 1.324 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.539, allocations: 303.4 kB / 1.325 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09661/1.636, allocations: 52.38 MB / 1.376 GB, free: 13.8 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.639, allocations: 223.7 kB / 1.376 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000634/1.64, allocations: 100 kB / 1.376 GB, free: 13.49 MB / 1.107 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.003879/1.644, allocations: 1.587 MB / 1.378 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/1.645, allocations: 245 kB / 1.378 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03561/1.681, allocations: 14.76 MB / 1.392 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.681, allocations: 24 kB / 1.392 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001168/1.681, allocations: 44 kB / 1.392 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/1.681, allocations: 11.95 kB / 1.392 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04645/1.727, allocations: 20.52 MB / 1.412 GB, free: 8.039 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.727, allocations: 8 kB / 1.412 GB, free: 8.031 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/1.728, allocations: 163.7 kB / 1.412 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03143/1.76, allocations: 9.059 MB / 1.421 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005304/1.76, allocations: 51.98 kB / 1.421 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09087/1.851, allocations: 51.95 MB / 1.472 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.851, allocations: 11.94 kB / 1.472 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03531/1.886, allocations: 14.37 MB / 1.486 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.889, allocations: 0.8454 MB / 1.487 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006197/1.89, allocations: 52 kB / 1.487 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.892, allocations: 207.7 kB / 1.487 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/1.893, allocations: 241.4 kB / 1.487 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.894, allocations: 64 kB / 1.487 GB, free: 9.938 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001891/1.895, allocations: 1.129 MB / 1.489 GB, free: 8.785 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.895, allocations: 0 / 1.489 GB, free: 8.785 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.006088/1.902, allocations: 1.609 MB / 1.49 GB, free: 7.176 MB / 1.217 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.0005001/1.902, allocations: 170.4 kB / 1.49 GB, free: 7.004 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0263/1.928, allocations: 11.33 MB / 1.501 GB, free: 11.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.928, allocations: 0 / 1.501 GB, free: 11.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01909/1.947, allocations: 7.305 MB / 1.509 GB, free: 4.219 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.951, allocations: 0.5525 MB / 1.509 GB, free: 3.676 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.974, allocations: 11.25 MB / 1.52 GB, free: 8.34 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/1.979, allocations: 3.298 MB / 1.523 GB, free: 5.004 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/1.979, allocations: 107.4 kB / 1.523 GB, free: 4.898 MB / 1.248 GB Notification: Performance of SimCode: time 1.543e-06/1.979, allocations: 4 kB / 1.523 GB, free: 4.895 MB / 1.248 GB Notification: Performance of Templates: time 0.7073/2.687, allocations: 187.6 MB / 1.707 GB, free: 286.9 MB / 1.264 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=400 -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/jenkins1/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