Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001458/0.001458, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001576/0.001576, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7984, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02826/0.8267, allocations: 23.43 MB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.84, allocations: 6.484 MB / 1.197 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.843, allocations: 91.56 kB / 1.197 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.8476, allocations: 1.503 MB / 1.198 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.8527, allocations: 1.937 MB / 1.2 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.8565, allocations: 1.454 MB / 1.201 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007929/0.8644, allocations: 6.92 MB / 1.208 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/0.8757, allocations: 6.945 MB / 1.215 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.8806, allocations: 2.882 MB / 1.218 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.8867, allocations: 3.47 MB / 1.221 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001806/0.8886, allocations: 0.5273 MB / 1.222 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/0.8928, allocations: 1.182 MB / 1.223 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004892/0.8978, allocations: 2.456 MB / 1.225 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006953/0.9047, allocations: 2.532 MB / 1.228 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.9167, allocations: 8.52 MB / 1.236 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9168, allocations: 4 kB / 1.236 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9168, allocations: 0 / 1.236 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002964/0.9171, allocations: 4 kB / 1.236 GB, free: 13.18 MB / 0.9669 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.01085/0.928, allocations: 4.424 MB / 1.24 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.928, allocations: 8.031 kB / 1.24 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009503/0.9375, allocations: 1.689 MB / 1.242 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.9442, allocations: 2.696 MB / 1.245 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.9445, allocations: 275.7 kB / 1.245 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.9459, allocations: 356.3 kB / 1.245 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.9613, allocations: 7.491 MB / 1.253 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.9614, allocations: 15.88 kB / 1.253 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008885/0.9623, allocations: 159.9 kB / 1.253 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000611/0.963, allocations: 487.3 kB / 1.253 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.976, allocations: 5.697 MB / 1.259 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04367/1.02, allocations: 31.5 MB / 1.289 GB, free: 3.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/1.023, allocations: 2.086 MB / 1.292 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/1.027, allocations: 2.19 MB / 1.294 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/1.027, allocations: 13.31 kB / 1.294 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.027, allocations: 51.86 kB / 1.294 GB, free: 14.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 5.571e-06/1.027, allocations: 4 kB / 1.294 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3164/1.343, allocations: 77.01 MB / 1.369 GB, free: 1.711 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/1.343, allocations: 77.41 kB / 1.369 GB, free: 1.621 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/1.346, allocations: 1.674 MB / 1.371 GB, free: 15.9 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004786/1.346, allocations: 65.7 kB / 1.371 GB, free: 15.83 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.348, allocations: 1.739 MB / 1.372 GB, free: 14.07 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.349, allocations: 0.8549 MB / 1.373 GB, free: 13.21 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.35, allocations: 481.2 kB / 1.374 GB, free: 12.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.351, allocations: 305.1 kB / 1.374 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.355, allocations: 2.738 MB / 1.377 GB, free: 9.688 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.359, allocations: 3.332 MB / 1.38 GB, free: 6.109 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00902/1.368, allocations: 6.397 MB / 1.386 GB, free: 15.47 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/1.368, allocations: 8 kB / 1.386 GB, free: 15.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03331/1.402, allocations: 14.67 MB / 1.4 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/1.402, allocations: 16 kB / 1.401 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/1.402, allocations: 16 kB / 1.401 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03004/1.432, allocations: 9.252 MB / 1.41 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.433, allocations: 299.5 kB / 1.41 GB, free: 7.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08522/1.519, allocations: 52.35 MB / 1.461 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.522, allocations: 223.7 kB / 1.461 GB, free: 1.688 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/1.522, allocations: 100 kB / 1.461 GB, free: 1.59 MB / 1.186 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.003044/1.525, allocations: 1.582 MB / 1.463 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007403/1.526, allocations: 249 kB / 1.463 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03452/1.561, allocations: 14.75 MB / 1.477 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.561, allocations: 11.95 kB / 1.477 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/1.561, allocations: 0 / 1.477 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002807/1.564, allocations: 0.8493 MB / 1.478 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.565, allocations: 44 kB / 1.478 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.568, allocations: 191.9 kB / 1.479 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/1.569, allocations: 489 kB / 1.479 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02817/1.597, allocations: 11.63 MB / 1.49 GB, free: 3.688 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01367/1.611, allocations: 9.077 MB / 1.499 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004193/1.615, allocations: 2.806 MB / 1.502 GB, free: 7.781 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0021/1.617, allocations: 1.125 MB / 1.503 GB, free: 6.633 MB / 1.232 GB Notification: Performance of Backend: time 7.31e-07/1.617, allocations: 0 / 1.503 GB, free: 6.633 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02367/1.641, allocations: 8.282 MB / 1.511 GB, free: 14.27 MB / 1.248 GB Notification: Performance of SimCode: time 0.01855/1.659, allocations: 9.365 MB / 1.52 GB, free: 4.891 MB / 1.248 GB Notification: Performance of Templates: time 0.7952/2.455, allocations: 82.68 MB / 1.601 GB, free: 341.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches