Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 114.7 kB / 16.42 MB, free: 6.469 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.001816/0.001816, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.661/2.661, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9805/0.9819, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0277/1.01, allocations: 22.61 MB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01359/1.023, allocations: 6.233 MB / 1.195 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.026, allocations: 91.56 kB / 1.196 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/1.03, allocations: 1.546 MB / 1.197 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004307/1.034, allocations: 1.723 MB / 1.199 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/1.038, allocations: 1.353 MB / 1.2 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006684/1.044, allocations: 5.951 MB / 1.206 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007936/1.052, allocations: 6.029 MB / 1.212 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/1.056, allocations: 2.45 MB / 1.214 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/1.061, allocations: 2.866 MB / 1.217 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/1.062, allocations: 463.9 kB / 1.217 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/1.065, allocations: 1.096 MB / 1.218 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003359/1.069, allocations: 2.027 MB / 1.22 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.005642/1.074, allocations: 2.17 MB / 1.223 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/1.086, allocations: 7.29 MB / 1.23 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.086, allocations: 4 kB / 1.23 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.106e-06/1.086, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003534/1.087, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01194/1.099, allocations: 3.822 MB / 1.233 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.099, allocations: 12.03 kB / 1.233 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/1.106, allocations: 1.21 MB / 1.235 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/1.111, allocations: 2.34 MB / 1.237 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.111, allocations: 238.4 kB / 1.237 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/1.113, allocations: 319.8 kB / 1.237 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/1.125, allocations: 6.22 MB / 1.244 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.85e-05/1.125, allocations: 11.88 kB / 1.244 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006584/1.125, allocations: 136 kB / 1.244 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005044/1.126, allocations: 406.3 kB / 1.244 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008183/1.134, allocations: 4.666 MB / 1.249 GB, free: 15.95 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/1.169, allocations: 28.94 MB / 1.277 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/1.171, allocations: 1.424 MB / 1.278 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.173, allocations: 1.491 MB / 1.28 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.173, allocations: 13 kB / 1.28 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.173, allocations: 43.56 kB / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/1.173, allocations: 0 / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1487/1.322, allocations: 37.25 MB / 1.316 GB, free: 7.973 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/1.322, allocations: 69.41 kB / 1.316 GB, free: 7.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/1.324, allocations: 1.423 MB / 1.318 GB, free: 6.461 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/1.325, allocations: 53.7 kB / 1.318 GB, free: 6.402 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.326, allocations: 1.542 MB / 1.319 GB, free: 4.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007191/1.326, allocations: 0.6006 MB / 1.32 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00083/1.327, allocations: 383.3 kB / 1.32 GB, free: 3.852 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.327, allocations: 305.1 kB / 1.32 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.33, allocations: 1.788 MB / 1.322 GB, free: 1.758 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.333, allocations: 2.35 MB / 1.324 GB, free: 15.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.339, allocations: 4.387 MB / 1.329 GB, free: 10.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/1.339, allocations: 4 kB / 1.329 GB, free: 10.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01869/1.358, allocations: 8.575 MB / 1.337 GB, free: 1.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.358, allocations: 12 kB / 1.337 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/1.358, allocations: 16 kB / 1.337 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01687/1.375, allocations: 4.635 MB / 1.342 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.376, allocations: 311.4 kB / 1.342 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0546/1.431, allocations: 32.58 MB / 1.374 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.433, allocations: 147.8 kB / 1.374 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004952/1.434, allocations: 84 kB / 1.374 GB, free: 11.26 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003492/1.437, allocations: 1.33 MB / 1.375 GB, free: 9.922 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/1.438, allocations: 197.7 kB / 1.375 GB, free: 9.727 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/1.458, allocations: 8.445 MB / 1.384 GB, free: 1.234 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/1.458, allocations: 7.969 kB / 1.384 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.458, allocations: 0 / 1.384 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.46, allocations: 0.6234 MB / 1.384 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/1.461, allocations: 32 kB / 1.384 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.463, allocations: 123.8 kB / 1.385 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.464, allocations: 293.4 kB / 1.385 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01873/1.482, allocations: 7.254 MB / 1.392 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009383/1.492, allocations: 6.107 MB / 1.398 GB, free: 2.719 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00275/1.495, allocations: 1.827 MB / 1.4 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001655/1.496, allocations: 0.9627 MB / 1.401 GB, free: 15.93 MB / 1.139 GB Notification: Performance of Backend: time 5.61e-07/1.496, allocations: 0 / 1.401 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.51, allocations: 5.241 MB / 1.406 GB, free: 10.61 MB / 1.139 GB Notification: Performance of SimCode: time 0.01345/1.524, allocations: 7.325 MB / 1.413 GB, free: 3.27 MB / 1.139 GB Notification: Performance of Templates: time 0.0905/1.614, allocations: 57.95 MB / 1.469 GB, free: 9.617 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches