Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001932/0.001932, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.00242/0.00242, allocations: 214.7 kB / 22.25 MB, free: 4.867 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.676/3.676, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [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.003577/0.003577, allocations: 67.28 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4053, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01496/0.4203, allocations: 9.673 MB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00648/0.4268, allocations: 3.018 MB / 1.376 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009196/0.4277, allocations: 47.69 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.43, allocations: 0.6901 MB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.4319, allocations: 0.7196 MB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.4336, allocations: 0.6416 MB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.437, allocations: 2.734 MB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.4393, allocations: 1.371 MB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.4412, allocations: 1.165 MB / 1.383 GB, free: 9.398 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.4437, allocations: 1.433 MB / 1.385 GB, free: 7.961 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005466/0.4442, allocations: 216 kB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4454, allocations: 459.4 kB / 1.385 GB, free: 7.301 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.4468, allocations: 1.013 MB / 1.386 GB, free: 6.285 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.4485, allocations: 0.8365 MB / 1.387 GB, free: 5.445 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.4528, allocations: 3.427 MB / 1.391 GB, free: 2.008 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4528, allocations: 3.938 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4528, allocations: 0 / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.469e-05/0.4529, allocations: 4 kB / 1.391 GB, free: 2 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004176/0.457, allocations: 1.913 MB / 1.393 GB, free: 48 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4571, allocations: 12.03 kB / 1.393 GB, free: 36 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006056/0.4631, allocations: 0.8966 MB / 1.393 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.4656, allocations: 1.128 MB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/0.4657, allocations: 107.3 kB / 1.395 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.466, allocations: 140.3 kB / 1.395 GB, free: 13.74 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.4711, allocations: 3.089 MB / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.4711, allocations: 7.938 kB / 1.398 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.4713, allocations: 67.91 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/0.4716, allocations: 179 kB / 1.398 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004274/0.4758, allocations: 2.604 MB / 1.401 GB, free: 7.672 MB / 1.092 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.01538/0.4912, allocations: 9.036 MB / 1.409 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.4933, allocations: 1.228 MB / 1.411 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4948, allocations: 0.9761 MB / 1.412 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.4948, allocations: 12.66 kB / 1.412 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.4949, allocations: 35.22 kB / 1.412 GB, free: 12.14 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/0.4949, allocations: 4 kB / 1.412 GB, free: 12.14 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.07608/0.571, allocations: 18.87 MB / 1.43 GB, free: 9.234 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.571, allocations: 68.72 kB / 1.43 GB, free: 9.152 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.5723, allocations: 0.9064 MB / 1.431 GB, free: 8.238 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.5725, allocations: 45.7 kB / 1.431 GB, free: 8.188 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.573, allocations: 0.7462 MB / 1.432 GB, free: 7.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.5735, allocations: 0.5074 MB / 1.432 GB, free: 6.918 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.5741, allocations: 291.5 kB / 1.432 GB, free: 6.625 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5743, allocations: 353.9 kB / 1.433 GB, free: 6.273 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.5765, allocations: 1.335 MB / 1.434 GB, free: 4.938 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.5788, allocations: 1.655 MB / 1.436 GB, free: 3.168 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004617/0.5834, allocations: 3.097 MB / 1.439 GB, free: 15.95 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5834, allocations: 4 kB / 1.439 GB, free: 15.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01236/0.5957, allocations: 5.559 MB / 1.444 GB, free: 10.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.5958, allocations: 8 kB / 1.444 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.5958, allocations: 11.94 kB / 1.444 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009226/0.605, allocations: 2.715 MB / 1.447 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.6059, allocations: 187.7 kB / 1.447 GB, free: 7.434 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04038/0.6463, allocations: 24.84 MB / 1.471 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6478, allocations: 91.95 kB / 1.471 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.6479, allocations: 56.12 kB / 1.471 GB, free: 14.04 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.6492, allocations: 0.7431 MB / 1.472 GB, free: 13.28 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.6494, allocations: 127.3 kB / 1.472 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.6615, allocations: 5.306 MB / 1.477 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6615, allocations: 16 kB / 1.477 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/0.6616, allocations: 23.94 kB / 1.478 GB, free: 7.777 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.6616, allocations: 11.95 kB / 1.478 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.679, allocations: 7.959 MB / 1.485 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.679, allocations: 4 kB / 1.485 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.6795, allocations: 111.9 kB / 1.485 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008645/0.6881, allocations: 2.599 MB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.6883, allocations: 24 kB / 1.488 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03636/0.7247, allocations: 23.32 MB / 1.511 GB, free: 5.23 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.7247, allocations: 11.94 kB / 1.511 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.7362, allocations: 5.179 MB / 1.516 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.7375, allocations: 423.1 kB / 1.516 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.7377, allocations: 24 kB / 1.516 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.7387, allocations: 75.91 kB / 1.516 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/0.7392, allocations: 136.8 kB / 1.516 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7393, allocations: 36 kB / 1.516 GB, free: 15.28 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008596/0.7401, allocations: 0.62 MB / 1.517 GB, free: 14.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7401, allocations: 0 / 1.517 GB, free: 14.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002191/0.7423, allocations: 0.7266 MB / 1.518 GB, free: 13.94 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.7426, allocations: 138 kB / 1.518 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007484/0.7501, allocations: 4.094 MB / 1.522 GB, free: 9.648 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.7501, allocations: 4 kB / 1.522 GB, free: 9.645 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005409/0.7555, allocations: 2.595 MB / 1.524 GB, free: 6.996 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7568, allocations: 227.3 kB / 1.525 GB, free: 6.777 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.7637, allocations: 4.071 MB / 1.529 GB, free: 2.645 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.7653, allocations: 1.113 MB / 1.53 GB, free: 1.496 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008336/0.7662, allocations: 329.2 kB / 1.53 GB, free: 1.172 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.7663, allocations: 51.44 kB / 1.53 GB, free: 1.121 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.7663, allocations: 0 / 1.53 GB, free: 1.121 MB / 1.217 GB Notification: Performance of Templates: time 0.06637/0.8327, allocations: 43.69 MB / 1.573 GB, free: 5.656 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 10.660713942721486]