Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.01211/0.0121, allocations: 106.8 kB / 15.74 MB, free: 5.996 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.001938/0.001938, allocations: 191 kB / 16.67 MB, free: 5.926 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.314/2.314, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.09 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02776/1.06, allocations: 22.6 MB / 1.11 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0141/1.074, allocations: 6.228 MB / 1.116 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004099/1.078, allocations: 92.34 kB / 1.116 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005361/1.083, allocations: 1.55 MB / 1.118 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/1.091, allocations: 1.724 MB / 1.119 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005464/1.096, allocations: 1.356 MB / 1.121 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01058/1.107, allocations: 5.946 MB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/1.118, allocations: 6.037 MB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006233/1.125, allocations: 2.454 MB / 1.135 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006974/1.132, allocations: 2.87 MB / 1.138 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/1.134, allocations: 456.9 kB / 1.138 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005192/1.139, allocations: 1.094 MB / 1.139 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005828/1.145, allocations: 2.028 MB / 1.141 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009402/1.154, allocations: 2.17 MB / 1.143 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/1.171, allocations: 7.294 MB / 1.15 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.171, allocations: 0 / 1.15 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.334e-06/1.171, allocations: 5.062 kB / 1.15 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003478/1.171, allocations: 0 / 1.15 GB, free: 2.539 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01818/1.19, allocations: 3.819 MB / 1.154 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.19, allocations: 8.688 kB / 1.154 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008537/1.198, allocations: 1.209 MB / 1.155 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008185/1.206, allocations: 2.34 MB / 1.158 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/1.207, allocations: 243.1 kB / 1.158 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.209, allocations: 321.8 kB / 1.158 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/1.236, allocations: 6.211 MB / 1.164 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/1.236, allocations: 17.72 kB / 1.164 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002182/1.238, allocations: 133.9 kB / 1.164 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/1.239, allocations: 408 kB / 1.165 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/1.256, allocations: 4.661 MB / 1.169 GB, free: 7.137 MB / 0.9044 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.04769/1.304, allocations: 28.95 MB / 1.197 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/1.307, allocations: 1.424 MB / 1.199 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.309, allocations: 1.483 MB / 1.2 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/1.31, allocations: 16.98 kB / 1.2 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.31, allocations: 43.56 kB / 1.2 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.737e-06/1.31, allocations: 4 kB / 1.2 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1316/1.441, allocations: 37.24 MB / 1.237 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/1.441, allocations: 73.39 kB / 1.237 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/1.444, allocations: 1.419 MB / 1.238 GB, free: 1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/1.444, allocations: 57.7 kB / 1.238 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.445, allocations: 1.546 MB / 1.24 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007051/1.446, allocations: 0.6006 MB / 1.24 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/1.447, allocations: 383.3 kB / 1.241 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.447, allocations: 301.1 kB / 1.241 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/1.449, allocations: 1.788 MB / 1.243 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/1.452, allocations: 2.35 MB / 1.245 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/1.458, allocations: 4.387 MB / 1.249 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.458, allocations: 4 kB / 1.249 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01795/1.476, allocations: 8.57 MB / 1.258 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/1.476, allocations: 12 kB / 1.258 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.476, allocations: 16 kB / 1.258 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/1.491, allocations: 4.636 MB / 1.262 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.492, allocations: 311.4 kB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04726/1.539, allocations: 32.59 MB / 1.294 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.542, allocations: 151.8 kB / 1.295 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.542, allocations: 84 kB / 1.295 GB, free: 5.773 MB / 1.029 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.00317/1.545, allocations: 1.328 MB / 1.296 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/1.546, allocations: 201.6 kB / 1.296 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/1.563, allocations: 8.429 MB / 1.304 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.563, allocations: 20 kB / 1.304 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.751e-05/1.563, allocations: 35.88 kB / 1.304 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/1.563, allocations: 7.969 kB / 1.304 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/1.589, allocations: 12.84 MB / 1.317 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.589, allocations: 4 kB / 1.317 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/1.59, allocations: 171.8 kB / 1.317 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/1.604, allocations: 4.496 MB / 1.322 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/1.604, allocations: 36 kB / 1.322 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04619/1.651, allocations: 32.19 MB / 1.353 GB, free: 8.914 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.651, allocations: 7.938 kB / 1.353 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.667, allocations: 8.233 MB / 1.361 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.669, allocations: 0.6234 MB / 1.362 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/1.669, allocations: 40 kB / 1.362 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.67, allocations: 131.8 kB / 1.362 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/1.671, allocations: 172.9 kB / 1.362 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.671, allocations: 48 kB / 1.362 GB, free: 15.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001395/1.673, allocations: 0.9627 MB / 1.363 GB, free: 14.56 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.673, allocations: 0 / 1.363 GB, free: 14.56 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003798/1.677, allocations: 1.117 MB / 1.364 GB, free: 13.44 MB / 1.107 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/1.677, allocations: 152.9 kB / 1.364 GB, free: 13.29 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.689, allocations: 6.535 MB / 1.371 GB, free: 6.676 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.689, allocations: 0.875 kB / 1.371 GB, free: 6.676 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.009068/1.698, allocations: 4.362 MB / 1.375 GB, free: 2.23 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/1.701, allocations: 0.5324 MB / 1.375 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.715, allocations: 6.787 MB / 1.382 GB, free: 10.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.718, allocations: 2.731 MB / 1.385 GB, free: 8.059 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001209/1.72, allocations: 388.6 kB / 1.385 GB, free: 7.676 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.72, allocations: 95.42 kB / 1.385 GB, free: 7.582 MB / 1.123 GB Notification: Performance of SimCode: time 9.32e-07/1.72, allocations: 0 / 1.385 GB, free: 7.582 MB / 1.123 GB Notification: Performance of Templates: time 0.1032/1.823, allocations: 61.12 MB / 1.445 GB, free: 10.73 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches