Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001357/0.001357, 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.001559/0.001559, allocations: 214 kB / 22.25 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.801 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.867/2.867, allocations: 476 MB / 0.7699 GB, free: 4.758 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.002181/0.002181, allocations: 71.02 kB / 1.117 GB, free: 41.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007595/0.337, allocations: 4.675 MB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.5128, allocations: 132.7 MB / 1.417 GB, free: 2.047 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5138, allocations: 23.81 kB / 1.417 GB, free: 2.023 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.5147, allocations: 210.1 kB / 1.417 GB, free: 1.816 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.5172, allocations: 0.5723 MB / 1.418 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.5195, allocations: 0.858 MB / 1.419 GB, free: 400 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.5215, allocations: 1.459 MB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.5224, allocations: 402.3 kB / 1.421 GB, free: 14.51 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.5234, allocations: 0.5178 MB / 1.421 GB, free: 13.99 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009495/0.5243, allocations: 477.6 kB / 1.422 GB, free: 13.52 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.5247, allocations: 120 kB / 1.422 GB, free: 13.4 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.526, allocations: 499.6 kB / 1.422 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.5264, allocations: 307 kB / 1.422 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007543/0.5272, allocations: 485.6 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.5297, allocations: 1.72 MB / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5298, allocations: 0 / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5298, allocations: 4 kB / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.225e-05/0.5298, allocations: 0 / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003301/0.5331, allocations: 1.451 MB / 1.426 GB, free: 8.922 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5331, allocations: 8.031 kB / 1.426 GB, free: 8.914 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.5347, allocations: 232 kB / 1.426 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.5362, allocations: 0.7337 MB / 1.427 GB, free: 7.926 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.5363, allocations: 62 kB / 1.427 GB, free: 7.863 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5364, allocations: 80 kB / 1.427 GB, free: 7.785 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.5382, allocations: 1.197 MB / 1.428 GB, free: 6.488 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.5383, allocations: 3.938 kB / 1.428 GB, free: 6.484 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.5384, allocations: 43.98 kB / 1.428 GB, free: 6.441 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.5384, allocations: 24 kB / 1.428 GB, free: 6.418 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.5403, allocations: 1.073 MB / 1.429 GB, free: 5.344 MB / 1.123 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.003967/0.5442, allocations: 2.131 MB / 1.431 GB, free: 3.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5458, allocations: 0.7627 MB / 1.432 GB, free: 2.387 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.5463, allocations: 282.1 kB / 1.432 GB, free: 2.109 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.5464, allocations: 28.62 kB / 1.432 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5474, allocations: 0.5995 MB / 1.433 GB, free: 1.441 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.5474, allocations: 0 / 1.433 GB, free: 1.441 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003313/0.5507, allocations: 1.136 MB / 1.434 GB, free: 304 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5509, allocations: 192.6 kB / 1.434 GB, free: 68 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.5519, allocations: 0.6213 MB / 1.435 GB, free: 15.43 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.5519, allocations: 41.7 kB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.5524, allocations: 417 kB / 1.435 GB, free: 14.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.5528, allocations: 285.5 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.5531, allocations: 170.6 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5533, allocations: 382.8 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.5539, allocations: 269.9 kB / 1.436 GB, free: 13.87 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.5546, allocations: 495.6 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5559, allocations: 0.6112 MB / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5559, allocations: 0 / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002116/0.558, allocations: 0.8648 MB / 1.438 GB, free: 11.84 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.558, allocations: 11.94 kB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.558, allocations: 4.094 kB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.5586, allocations: 76.78 kB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.5593, allocations: 175.8 kB / 1.439 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5615, allocations: 1.493 MB / 1.44 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.5622, allocations: 87.62 kB / 1.44 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.5622, allocations: 35.98 kB / 1.44 GB, free: 9.855 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0004461/0.5627, allocations: 277.5 kB / 1.44 GB, free: 9.578 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.5629, allocations: 83.48 kB / 1.441 GB, free: 9.496 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.5653, allocations: 1.069 MB / 1.442 GB, free: 8.414 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5653, allocations: 15.88 kB / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.5653, allocations: 0 / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.5653, allocations: 3.984 kB / 1.442 GB, free: 8.395 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.5663, allocations: 0.6537 MB / 1.442 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5663, allocations: 0 / 1.442 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.5669, allocations: 147.8 kB / 1.442 GB, free: 7.566 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.5674, allocations: 80.7 kB / 1.442 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.5674, allocations: 27.92 kB / 1.443 GB, free: 7.457 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.5696, allocations: 1.528 MB / 1.444 GB, free: 5.816 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5696, allocations: 3.984 kB / 1.444 GB, free: 5.812 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.5724, allocations: 1.34 MB / 1.445 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.5729, allocations: 195.1 kB / 1.446 GB, free: 4.262 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.573, allocations: 16 kB / 1.446 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.5737, allocations: 71.98 kB / 1.446 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5738, allocations: 72.86 kB / 1.446 GB, free: 4.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/0.5739, allocations: 31.98 kB / 1.446 GB, free: 4.074 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006193/0.5745, allocations: 451 kB / 1.446 GB, free: 3.637 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5745, allocations: 0 / 1.446 GB, free: 3.637 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009219/0.5754, allocations: 343.1 kB / 1.446 GB, free: 3.301 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.002146/0.5776, allocations: 0.6337 MB / 1.447 GB, free: 2.867 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.5794, allocations: 0.8154 MB / 1.448 GB, free: 2.035 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5795, allocations: 0 / 1.448 GB, free: 2.035 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009806/0.5804, allocations: 0.4925 MB / 1.448 GB, free: 1.531 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5816, allocations: 299.8 kB / 1.449 GB, free: 1.262 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.5853, allocations: 1.823 MB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.5858, allocations: 448.6 kB / 1.451 GB, free: 14.94 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008672/0.5867, allocations: 258.5 kB / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.587, allocations: 103.4 kB / 1.451 GB, free: 14.58 MB / 1.154 GB Notification: Performance of SimCode: time 9.42e-07/0.587, allocations: 0 / 1.451 GB, free: 14.58 MB / 1.154 GB Notification: Performance of Templates: time 0.02976/0.6168, allocations: 16.47 MB / 1.467 GB, free: 14.37 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.876211820170283]