Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001354/0.001354, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.762/2.762, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] 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_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_11_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_11_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.002088/0.002088, allocations: 64.34 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01529/0.3413, allocations: 9.657 MB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006721/0.348, allocations: 3.033 MB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3491, allocations: 47.69 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.3516, allocations: 0.6842 MB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.3537, allocations: 0.7274 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3554, allocations: 0.6452 MB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.3589, allocations: 2.734 MB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.3613, allocations: 1.364 MB / 1.301 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.3635, allocations: 1.157 MB / 1.303 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.3661, allocations: 1.429 MB / 1.304 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.3668, allocations: 216 kB / 1.304 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.3682, allocations: 463.4 kB / 1.305 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.3697, allocations: 1.009 MB / 1.306 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.3716, allocations: 0.8366 MB / 1.306 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.3764, allocations: 3.426 MB / 1.31 GB, free: 432 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3764, allocations: 3.938 kB / 1.31 GB, free: 428 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3764, allocations: 0 / 1.31 GB, free: 428 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001242/0.3766, allocations: 0 / 1.31 GB, free: 428 kB / 0.9981 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.006198/0.3828, allocations: 1.913 MB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3828, allocations: 12.02 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.3893, allocations: 0.897 MB / 1.313 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.3927, allocations: 1.128 MB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3928, allocations: 115.2 kB / 1.314 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004194/0.3932, allocations: 136.4 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005362/0.3986, allocations: 3.092 MB / 1.317 GB, free: 8.934 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.3986, allocations: 7.938 kB / 1.317 GB, free: 8.926 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.3988, allocations: 59.98 kB / 1.317 GB, free: 8.867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002353/0.399, allocations: 179 kB / 1.317 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.4036, allocations: 2.6 MB / 1.32 GB, free: 6.086 MB / 1.014 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.01559/0.4191, allocations: 9.055 MB / 1.329 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.4212, allocations: 1.217 MB / 1.33 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.4227, allocations: 0.9799 MB / 1.331 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.4228, allocations: 8.656 kB / 1.331 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4228, allocations: 39.22 kB / 1.331 GB, free: 10.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 5.35e-06/0.4228, allocations: 11.98 kB / 1.331 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07967/0.5025, allocations: 18.88 MB / 1.349 GB, free: 7.617 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.5026, allocations: 64.72 kB / 1.349 GB, free: 7.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.5046, allocations: 0.9102 MB / 1.35 GB, free: 6.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004248/0.505, allocations: 45.7 kB / 1.35 GB, free: 6.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.5058, allocations: 0.7501 MB / 1.351 GB, free: 5.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008475/0.5066, allocations: 0.4996 MB / 1.351 GB, free: 5.305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009531/0.5076, allocations: 291.5 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5078, allocations: 357.9 kB / 1.352 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.5102, allocations: 1.335 MB / 1.353 GB, free: 3.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.513, allocations: 1.667 MB / 1.355 GB, free: 1.539 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/0.5177, allocations: 3.09 MB / 1.358 GB, free: 14.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.5178, allocations: 7.984 kB / 1.358 GB, free: 14.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01335/0.5311, allocations: 5.54 MB / 1.363 GB, free: 8.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.5311, allocations: 16.09 kB / 1.363 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.5312, allocations: 8 kB / 1.363 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.5408, allocations: 2.718 MB / 1.366 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.5417, allocations: 187.7 kB / 1.366 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04107/0.5828, allocations: 24.84 MB / 1.39 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.5843, allocations: 91.95 kB / 1.391 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.5846, allocations: 59.94 kB / 1.391 GB, free: 12.43 MB / 1.092 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.001429/0.5861, allocations: 0.7393 MB / 1.391 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.5864, allocations: 115.3 kB / 1.391 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.599, allocations: 5.314 MB / 1.397 GB, free: 6.219 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.599, allocations: 16.44 kB / 1.397 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.292e-05/0.5991, allocations: 20 kB / 1.397 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.5991, allocations: 7.969 kB / 1.397 GB, free: 6.176 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.6177, allocations: 7.968 MB / 1.404 GB, free: 14.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.6177, allocations: 8 kB / 1.404 GB, free: 14.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.6182, allocations: 115.8 kB / 1.405 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009219/0.6275, allocations: 2.589 MB / 1.407 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.6277, allocations: 28 kB / 1.407 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03847/0.6662, allocations: 23.31 MB / 1.43 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6662, allocations: 8 kB / 1.43 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.6786, allocations: 5.175 MB / 1.435 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.68, allocations: 423.1 kB / 1.435 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.6804, allocations: 35.98 kB / 1.435 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6816, allocations: 71.91 kB / 1.435 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006047/0.6822, allocations: 136.9 kB / 1.436 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6824, allocations: 36 kB / 1.436 GB, free: 13.67 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001132/0.6835, allocations: 0.62 MB / 1.436 GB, free: 13.06 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6835, allocations: 0 / 1.436 GB, free: 13.06 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002897/0.6864, allocations: 0.7227 MB / 1.437 GB, free: 12.34 MB / 1.139 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.0003225/0.6867, allocations: 143 kB / 1.437 GB, free: 12.19 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009112/0.6958, allocations: 4.076 MB / 1.441 GB, free: 8.059 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.6958, allocations: 4.188 kB / 1.441 GB, free: 8.055 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/0.7017, allocations: 2.611 MB / 1.444 GB, free: 5.395 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7035, allocations: 222.1 kB / 1.444 GB, free: 5.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.712, allocations: 4.066 MB / 1.448 GB, free: 1.055 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/0.714, allocations: 1.109 MB / 1.449 GB, free: 15.91 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008941/0.7149, allocations: 321.2 kB / 1.449 GB, free: 15.59 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.7152, allocations: 59.38 kB / 1.449 GB, free: 15.53 MB / 1.154 GB Notification: Performance of SimCode: time 1.172e-06/0.7152, allocations: 0 / 1.449 GB, free: 15.53 MB / 1.154 GB Notification: Performance of Templates: time 0.06799/0.7832, allocations: 43.7 MB / 1.492 GB, free: 4.078 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.9986438639462]