Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 81.7 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002601/0.002601, allocations: 160.3 kB / 23 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4256, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.8828/1.308, allocations: 21.55 MB / 1.138 GB, free: 49.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01037/1.319, allocations: 6.176 MB / 1.145 GB, free: 48.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/1.321, allocations: 124 kB / 1.145 GB, free: 48.49 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/1.326, allocations: 1.57 MB / 1.146 GB, free: 47.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005386/1.331, allocations: 1.732 MB / 1.148 GB, free: 46.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/1.335, allocations: 1.35 MB / 1.149 GB, free: 45.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00687/1.342, allocations: 5.934 MB / 1.155 GB, free: 43.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004436/1.346, allocations: 3.192 MB / 1.158 GB, free: 41.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/1.349, allocations: 2.499 MB / 1.161 GB, free: 40.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/1.353, allocations: 2.919 MB / 1.163 GB, free: 39.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008117/1.354, allocations: 457.7 kB / 1.164 GB, free: 39.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/1.356, allocations: 1.03 MB / 1.165 GB, free: 39.37 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002183/1.359, allocations: 2.088 MB / 1.167 GB, free: 38.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002825/1.361, allocations: 1.746 MB / 1.169 GB, free: 37.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/1.373, allocations: 7.36 MB / 1.176 GB, free: 35.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.373, allocations: 0.75 kB / 1.176 GB, free: 35.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.916e-06/1.373, allocations: 0 / 1.176 GB, free: 35.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003732/1.373, allocations: 0 / 1.176 GB, free: 35.27 MB / 1.076 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.01308/1.386, allocations: 3.841 MB / 1.18 GB, free: 33.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.386, allocations: 13.72 kB / 1.18 GB, free: 33.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007464/1.394, allocations: 1.232 MB / 1.181 GB, free: 32.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/1.4, allocations: 2.31 MB / 1.183 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/1.4, allocations: 243.2 kB / 1.183 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/1.402, allocations: 314.4 kB / 1.184 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.418, allocations: 6.437 MB / 1.19 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/1.418, allocations: 14.36 kB / 1.19 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005214/1.419, allocations: 143 kB / 1.19 GB, free: 28.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007203/1.419, allocations: 403.2 kB / 1.19 GB, free: 28.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/1.431, allocations: 4.655 MB / 1.195 GB, free: 26.82 MB / 1.076 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.0331/1.464, allocations: 18.1 MB / 1.213 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/1.466, allocations: 1.367 MB / 1.214 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/1.468, allocations: 1.438 MB / 1.215 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.751e-05/1.468, allocations: 12.66 kB / 1.215 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.468, allocations: 43.69 kB / 1.215 GB, free: 13.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/1.468, allocations: 5.312 kB / 1.215 GB, free: 13.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1496/1.618, allocations: 37.06 MB / 1.252 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.618, allocations: 69.41 kB / 1.252 GB, free: 0.832 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.62, allocations: 1.364 MB / 1.253 GB, free: 15.45 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/1.621, allocations: 49.7 kB / 1.253 GB, free: 15.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/1.622, allocations: 1.597 MB / 1.255 GB, free: 13.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.623, allocations: 0.6351 MB / 1.255 GB, free: 13.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/1.625, allocations: 383.5 kB / 1.256 GB, free: 12.77 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.625, allocations: 309 kB / 1.256 GB, free: 12.46 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.628, allocations: 1.788 MB / 1.258 GB, free: 10.67 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.632, allocations: 2.35 MB / 1.26 GB, free: 8.066 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/1.639, allocations: 4.386 MB / 1.264 GB, free: 3.445 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/1.639, allocations: 4 kB / 1.264 GB, free: 3.441 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02041/1.659, allocations: 8.416 MB / 1.272 GB, free: 10.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1.66, allocations: 20.19 kB / 1.272 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.66, allocations: 16 kB / 1.272 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/1.676, allocations: 4.617 MB / 1.277 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.677, allocations: 303.5 kB / 1.277 GB, free: 6.027 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05631/1.734, allocations: 31.43 MB / 1.308 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/1.736, allocations: 151.8 kB / 1.308 GB, free: 5.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/1.737, allocations: 84 kB / 1.308 GB, free: 5.754 MB / 1.139 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.004091/1.741, allocations: 1.339 MB / 1.309 GB, free: 4.406 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.742, allocations: 202.7 kB / 1.31 GB, free: 4.207 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/1.763, allocations: 8.285 MB / 1.318 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/1.763, allocations: 20 kB / 1.318 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.627e-05/1.763, allocations: 24 kB / 1.318 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/1.763, allocations: 7.969 kB / 1.318 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02881/1.791, allocations: 11.64 MB / 1.329 GB, free: 16 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/1.792, allocations: 7.984 kB / 1.329 GB, free: 8 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/1.792, allocations: 171.7 kB / 1.329 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01573/1.808, allocations: 4.468 MB / 1.334 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/1.808, allocations: 39.94 kB / 1.334 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05415/1.863, allocations: 31.02 MB / 1.364 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-05/1.863, allocations: 12.31 kB / 1.364 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.882, allocations: 8.089 MB / 1.372 GB, free: 3.453 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.884, allocations: 0.5453 MB / 1.372 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/1.885, allocations: 39.94 kB / 1.372 GB, free: 2.867 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.886, allocations: 139.8 kB / 1.373 GB, free: 2.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/1.887, allocations: 188.7 kB / 1.373 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.887, allocations: 48 kB / 1.373 GB, free: 2.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001459/1.889, allocations: 0.8937 MB / 1.374 GB, free: 1.609 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.889, allocations: 0 / 1.374 GB, free: 1.609 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004306/1.893, allocations: 1.121 MB / 1.375 GB, free: 500 kB / 1.201 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.0003725/1.894, allocations: 151.1 kB / 1.375 GB, free: 336 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.907, allocations: 6.313 MB / 1.381 GB, free: 9.953 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/1.907, allocations: 8.062 kB / 1.381 GB, free: 9.945 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.918, allocations: 4.177 MB / 1.385 GB, free: 5.688 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.921, allocations: 0.5106 MB / 1.386 GB, free: 5.191 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.935, allocations: 7 MB / 1.393 GB, free: 14.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.938, allocations: 2.165 MB / 1.395 GB, free: 11.88 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001323/1.939, allocations: 383.7 kB / 1.395 GB, free: 11.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/1.94, allocations: 88.5 kB / 1.395 GB, free: 11.41 MB / 1.232 GB Notification: Performance of SimCode: time 8.21e-07/1.94, allocations: 0 / 1.395 GB, free: 11.41 MB / 1.232 GB Notification: Performance of Templates: time 0.1084/2.048, allocations: 63.7 MB / 1.457 GB, free: 12.22 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.804116536979564]