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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] 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=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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4183, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03089/0.4492, allocations: 23.62 MB / 1.239 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.4631, allocations: 6.396 MB / 1.245 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.4662, allocations: 91.56 kB / 1.246 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.4715, allocations: 1.613 MB / 1.247 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006/0.4775, allocations: 1.727 MB / 1.249 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.4824, allocations: 1.382 MB / 1.25 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009924/0.4923, allocations: 5.935 MB / 1.256 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006453/0.4987, allocations: 2.975 MB / 1.259 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006728/0.5055, allocations: 2.45 MB / 1.261 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7707/1.276, allocations: 3.059 MB / 1.264 GB, free: 19.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/1.278, allocations: 457.3 kB / 1.265 GB, free: 19.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.28, allocations: 1.121 MB / 1.266 GB, free: 19.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002999/1.283, allocations: 2.083 MB / 1.268 GB, free: 19.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00504/1.288, allocations: 2.17 MB / 1.27 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/1.304, allocations: 7.316 MB / 1.277 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.304, allocations: 0 / 1.277 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.304, allocations: 1.406 kB / 1.277 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003171/1.304, allocations: 0 / 1.277 GB, free: 18.25 MB / 0.9981 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.01898/1.323, allocations: 3.913 MB / 1.281 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/1.323, allocations: 9.594 kB / 1.281 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009841/1.333, allocations: 1.228 MB / 1.282 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/1.341, allocations: 2.351 MB / 1.284 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/1.341, allocations: 244.9 kB / 1.285 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/1.344, allocations: 316.9 kB / 1.285 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/1.368, allocations: 6.215 MB / 1.291 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/1.368, allocations: 16.62 kB / 1.291 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/1.369, allocations: 139.6 kB / 1.291 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007953/1.37, allocations: 405.9 kB / 1.292 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/1.384, allocations: 4.666 MB / 1.296 GB, free: 14.18 MB / 0.9981 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.04524/1.429, allocations: 28.99 MB / 1.324 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/1.432, allocations: 1.371 MB / 1.326 GB, free: 6.527 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/1.434, allocations: 1.438 MB / 1.327 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.434, allocations: 11.41 kB / 1.327 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/1.434, allocations: 48.41 kB / 1.327 GB, free: 5.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 4.248e-06/1.434, allocations: 0 / 1.327 GB, free: 5.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1384/1.573, allocations: 37.15 MB / 1.363 GB, free: 4.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.573, allocations: 73.41 kB / 1.364 GB, free: 4.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/1.575, allocations: 1.424 MB / 1.365 GB, free: 3.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004298/1.576, allocations: 53.7 kB / 1.365 GB, free: 3.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.577, allocations: 1.585 MB / 1.367 GB, free: 1.664 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.578, allocations: 0.6408 MB / 1.367 GB, free: 1.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000889/1.579, allocations: 383.5 kB / 1.368 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.58, allocations: 305.1 kB / 1.368 GB, free: 356 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/1.582, allocations: 1.78 MB / 1.37 GB, free: 14.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.586, allocations: 2.353 MB / 1.372 GB, free: 11.96 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/1.592, allocations: 4.396 MB / 1.376 GB, free: 7.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.592, allocations: 4 kB / 1.376 GB, free: 7.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01939/1.612, allocations: 8.422 MB / 1.384 GB, free: 15.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.612, allocations: 17.88 kB / 1.384 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/1.612, allocations: 16.88 kB / 1.384 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/1.627, allocations: 4.639 MB / 1.389 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.629, allocations: 305.7 kB / 1.389 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05287/1.681, allocations: 32.62 MB / 1.421 GB, free: 8.828 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.684, allocations: 155.8 kB / 1.421 GB, free: 8.676 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.684, allocations: 84.23 kB / 1.421 GB, free: 8.594 MB / 1.092 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.003018/1.687, allocations: 1.327 MB / 1.423 GB, free: 7.277 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/1.688, allocations: 210.7 kB / 1.423 GB, free: 7.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.706, allocations: 8.296 MB / 1.431 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/1.706, allocations: 16 kB / 1.431 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.14e-05/1.706, allocations: 31.98 kB / 1.431 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.706, allocations: 7.969 kB / 1.431 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.734, allocations: 12.7 MB / 1.443 GB, free: 2.102 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/1.734, allocations: 8 kB / 1.443 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.734, allocations: 170.8 kB / 1.444 GB, free: 1.938 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.749, allocations: 4.483 MB / 1.448 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.749, allocations: 32 kB / 1.448 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05144/1.801, allocations: 32.23 MB / 1.479 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.801, allocations: 11.09 kB / 1.479 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.82, allocations: 8.101 MB / 1.487 GB, free: 4.301 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.822, allocations: 0.6206 MB / 1.488 GB, free: 3.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005299/1.822, allocations: 47.86 kB / 1.488 GB, free: 3.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/1.824, allocations: 131.8 kB / 1.488 GB, free: 3.484 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009245/1.825, allocations: 177.2 kB / 1.488 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.825, allocations: 48.38 kB / 1.488 GB, free: 3.273 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001577/1.826, allocations: 0.9549 MB / 1.489 GB, free: 2.324 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.826, allocations: 0 / 1.489 GB, free: 2.324 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004227/1.831, allocations: 1.117 MB / 1.49 GB, free: 1.207 MB / 1.154 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.0003656/1.831, allocations: 153.6 kB / 1.491 GB, free: 1.059 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.844, allocations: 6.316 MB / 1.497 GB, free: 10.76 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.844, allocations: 4.312 kB / 1.497 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.009874/1.854, allocations: 4.175 MB / 1.501 GB, free: 6.539 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.857, allocations: 0.5262 MB / 1.501 GB, free: 6.039 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.871, allocations: 7.018 MB / 1.508 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.875, allocations: 2.725 MB / 1.511 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001309/1.876, allocations: 392.5 kB / 1.511 GB, free: 11.81 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.876, allocations: 95.44 kB / 1.511 GB, free: 11.71 MB / 1.186 GB Notification: Performance of SimCode: time 1.613e-06/1.876, allocations: 0 / 1.511 GB, free: 11.71 MB / 1.186 GB Notification: Performance of Templates: time 0.1085/1.985, allocations: 62.8 MB / 1.573 GB, free: 13.31 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.254256625659764]