Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001753/0.001753, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002218/0.002218, allocations: 215.3 kB / 22.25 MB, free: 5.117 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.773 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.944/2.944, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [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.00212/0.00212, allocations: 67.72 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1959/0.5129, allocations: 146.3 MB / 1.426 GB, free: 9.066 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.5294, allocations: 7.53 MB / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.5309, allocations: 43.62 kB / 1.433 GB, free: 1.469 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.5323, allocations: 404.9 kB / 1.434 GB, free: 1.07 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.5365, allocations: 1.383 MB / 1.435 GB, free: 15.68 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.5396, allocations: 1.195 MB / 1.436 GB, free: 14.5 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.5429, allocations: 2.399 MB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.5444, allocations: 0.9526 MB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5458, allocations: 0.8758 MB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.5473, allocations: 0.7504 MB / 1.441 GB, free: 9.484 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.5476, allocations: 152 kB / 1.441 GB, free: 9.336 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.5498, allocations: 1.022 MB / 1.442 GB, free: 8.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.5503, allocations: 442.6 kB / 1.443 GB, free: 7.879 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.551, allocations: 0.6376 MB / 1.443 GB, free: 7.238 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.5546, allocations: 2.456 MB / 1.446 GB, free: 4.773 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5546, allocations: 4 kB / 1.446 GB, free: 4.77 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5546, allocations: 0 / 1.446 GB, free: 4.77 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.029e-05/0.5547, allocations: 0 / 1.446 GB, free: 4.77 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003687/0.5583, allocations: 1.871 MB / 1.447 GB, free: 2.855 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5584, allocations: 12.03 kB / 1.447 GB, free: 2.844 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.5609, allocations: 378.6 kB / 1.448 GB, free: 2.473 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.5628, allocations: 0.9589 MB / 1.449 GB, free: 1.477 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.5629, allocations: 82.2 kB / 1.449 GB, free: 1.395 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.5631, allocations: 108 kB / 1.449 GB, free: 1.289 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.5655, allocations: 1.523 MB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.5656, allocations: 3.938 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.5657, allocations: 48 kB / 1.45 GB, free: 15.56 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.5657, allocations: 42.06 kB / 1.451 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.568, allocations: 1.269 MB / 1.452 GB, free: 14.24 MB / 1.154 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.006115/0.5742, allocations: 2.76 MB / 1.454 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.5761, allocations: 0.9321 MB / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.5769, allocations: 372.9 kB / 1.456 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.577, allocations: 20.98 kB / 1.456 GB, free: 10.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.5783, allocations: 0.7912 MB / 1.457 GB, free: 9.238 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 4.038e-06/0.5783, allocations: 0 / 1.457 GB, free: 9.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.003842/0.5821, allocations: 1.364 MB / 1.458 GB, free: 7.863 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.5823, allocations: 196.9 kB / 1.458 GB, free: 7.629 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.5835, allocations: 0.814 MB / 1.459 GB, free: 6.805 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.5836, allocations: 45.7 kB / 1.459 GB, free: 6.754 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.5841, allocations: 0.548 MB / 1.459 GB, free: 6.199 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.5845, allocations: 349 kB / 1.46 GB, free: 5.855 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.5848, allocations: 198.6 kB / 1.46 GB, free: 5.656 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5849, allocations: 345.9 kB / 1.46 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.5856, allocations: 341.8 kB / 1.461 GB, free: 4.977 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/0.5866, allocations: 0.5867 MB / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.5882, allocations: 0.8049 MB / 1.462 GB, free: 3.492 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5882, allocations: 4 kB / 1.462 GB, free: 3.488 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002795/0.591, allocations: 1.083 MB / 1.463 GB, free: 2.398 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.591, allocations: 4 kB / 1.463 GB, free: 2.395 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.591, allocations: 4 kB / 1.463 GB, free: 2.391 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.5917, allocations: 88.92 kB / 1.463 GB, free: 2.301 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.5926, allocations: 219.8 kB / 1.463 GB, free: 2.086 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.5949, allocations: 1.507 MB / 1.465 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.5961, allocations: 107.5 kB / 1.465 GB, free: 372 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.5961, allocations: 47.97 kB / 1.465 GB, free: 324 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007685/0.5969, allocations: 315.5 kB / 1.465 GB, free: 0 / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.5972, allocations: 123.3 kB / 1.465 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.6001, allocations: 1.244 MB / 1.467 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.6001, allocations: 12 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6001, allocations: 0 / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.6001, allocations: 3.984 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.6017, allocations: 0.8291 MB / 1.467 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.6017, allocations: 4 kB / 1.467 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/0.6026, allocations: 207.7 kB / 1.468 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.603, allocations: 68.78 kB / 1.468 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.6031, allocations: 39.92 kB / 1.468 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.6053, allocations: 1.528 MB / 1.469 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6053, allocations: 4.031 kB / 1.469 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.6086, allocations: 1.574 MB / 1.471 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/0.6093, allocations: 242.9 kB / 1.471 GB, free: 9.961 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.6095, allocations: 27.98 kB / 1.471 GB, free: 9.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.6104, allocations: 63.94 kB / 1.471 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.6106, allocations: 88.77 kB / 1.471 GB, free: 9.781 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.144e-05/0.6107, allocations: 47.91 kB / 1.471 GB, free: 9.734 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009496/0.6116, allocations: 0.5654 MB / 1.472 GB, free: 9.172 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6116, allocations: 0 / 1.472 GB, free: 9.172 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001421/0.6131, allocations: 446.8 kB / 1.472 GB, free: 8.734 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/0.6155, allocations: 0.6572 MB / 1.473 GB, free: 8.285 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.6178, allocations: 0.9565 MB / 1.474 GB, free: 7.32 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6178, allocations: 4.125 kB / 1.474 GB, free: 7.316 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.619, allocations: 0.5665 MB / 1.474 GB, free: 6.738 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.6211, allocations: 479.8 kB / 1.475 GB, free: 6.289 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.6265, allocations: 2.491 MB / 1.477 GB, free: 3.766 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.6274, allocations: 0.579 MB / 1.478 GB, free: 3.152 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001289/0.6287, allocations: 316.9 kB / 1.478 GB, free: 2.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.6291, allocations: 123.4 kB / 1.478 GB, free: 2.719 MB / 1.17 GB Notification: Performance of SimCode: time 1.402e-06/0.6291, allocations: 0 / 1.478 GB, free: 2.719 MB / 1.17 GB Notification: Performance of Templates: time 0.04094/0.67, allocations: 22.98 MB / 1.501 GB, free: 12.16 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.182631954550743]