Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001542/0.001542, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.48/1.48, 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.884/2.884, allocations: 475.9 MB / 0.7699 GB, free: 4.758 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [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.002249/0.002249, allocations: 68.97 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 170 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007168/0.346, allocations: 4.764 MB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.5213, allocations: 132.7 MB / 1.417 GB, free: 1.848 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009736/0.5223, allocations: 23.81 kB / 1.417 GB, free: 1.824 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.5232, allocations: 218.1 kB / 1.418 GB, free: 1.609 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.5255, allocations: 0.5903 MB / 1.418 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.5278, allocations: 0.867 MB / 1.419 GB, free: 164 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.53, allocations: 1.478 MB / 1.42 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009625/0.5309, allocations: 406.8 kB / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000962/0.5319, allocations: 0.5295 MB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009444/0.5328, allocations: 497.6 kB / 1.422 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.5332, allocations: 124 kB / 1.422 GB, free: 13.11 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.5344, allocations: 499.6 kB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.5348, allocations: 311 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007316/0.5355, allocations: 493.6 kB / 1.423 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.5382, allocations: 1.755 MB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5382, allocations: 0 / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5382, allocations: 0 / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.5382, allocations: 0 / 1.425 GB, free: 10.07 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00275/0.5409, allocations: 1.478 MB / 1.426 GB, free: 8.562 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.541, allocations: 12.03 kB / 1.426 GB, free: 8.551 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5424, allocations: 239.9 kB / 1.427 GB, free: 8.316 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5438, allocations: 0.7258 MB / 1.427 GB, free: 7.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.5438, allocations: 66 kB / 1.427 GB, free: 7.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.544, allocations: 88 kB / 1.427 GB, free: 7.41 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5458, allocations: 1.208 MB / 1.429 GB, free: 6.102 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.5458, allocations: 3.953 kB / 1.429 GB, free: 6.098 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/0.5459, allocations: 40 kB / 1.429 GB, free: 6.059 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.5459, allocations: 24 kB / 1.429 GB, free: 6.035 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5478, allocations: 1.093 MB / 1.43 GB, free: 4.941 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.003993/0.5518, allocations: 2.178 MB / 1.432 GB, free: 2.711 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.5534, allocations: 0.7868 MB / 1.433 GB, free: 1.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.554, allocations: 301.4 kB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.5541, allocations: 28.62 kB / 1.433 GB, free: 1.59 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/0.555, allocations: 0.6067 MB / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.434e-06/0.555, allocations: 4 kB / 1.434 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003394/0.5584, allocations: 1.176 MB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.5586, allocations: 188.9 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.5594, allocations: 0.6292 MB / 1.435 GB, free: 14.88 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.5595, allocations: 45.7 kB / 1.435 GB, free: 14.83 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.5599, allocations: 425.1 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.5601, allocations: 293.4 kB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.5604, allocations: 170.6 kB / 1.436 GB, free: 13.95 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5606, allocations: 386.8 kB / 1.437 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.5612, allocations: 273.8 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.5619, allocations: 0.4996 MB / 1.437 GB, free: 12.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5632, allocations: 0.632 MB / 1.438 GB, free: 12.11 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5632, allocations: 0 / 1.438 GB, free: 12.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002112/0.5653, allocations: 0.8882 MB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5653, allocations: 6.5 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5653, allocations: 3.984 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.5659, allocations: 84.86 kB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.5667, allocations: 175.8 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5689, allocations: 1.492 MB / 1.441 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.5697, allocations: 87.61 kB / 1.441 GB, free: 9.258 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.5697, allocations: 47.91 kB / 1.441 GB, free: 9.211 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 (100): * Single equations (assignments): 99 * 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.0004978/0.5702, allocations: 271.6 kB / 1.441 GB, free: 8.938 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.5704, allocations: 99.42 kB / 1.441 GB, free: 8.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.5729, allocations: 1.085 MB / 1.442 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.573, allocations: 12 kB / 1.442 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.573, allocations: 0 / 1.442 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.573, allocations: 3.984 kB / 1.442 GB, free: 7.723 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.5739, allocations: 0.6616 MB / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5739, allocations: 3.938 kB / 1.443 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.5746, allocations: 159.8 kB / 1.443 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.5751, allocations: 76.72 kB / 1.443 GB, free: 6.789 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.5751, allocations: 27.98 kB / 1.443 GB, free: 6.762 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.5771, allocations: 1.528 MB / 1.445 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5771, allocations: 0 / 1.445 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.5799, allocations: 1.375 MB / 1.446 GB, free: 3.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.5804, allocations: 195.1 kB / 1.446 GB, free: 3.539 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.5805, allocations: 19.98 kB / 1.446 GB, free: 3.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.5811, allocations: 64 kB / 1.446 GB, free: 3.457 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5813, allocations: 84.78 kB / 1.446 GB, free: 3.375 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.5814, allocations: 35.98 kB / 1.446 GB, free: 3.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005871/0.5819, allocations: 451 kB / 1.447 GB, free: 2.902 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5819, allocations: 4 kB / 1.447 GB, free: 2.898 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008971/0.5828, allocations: 339.1 kB / 1.447 GB, free: 2.566 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 (96): * Single equations (assignments): 90 * 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.002118/0.585, allocations: 0.6465 MB / 1.448 GB, free: 2.121 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.5867, allocations: 0.8156 MB / 1.449 GB, free: 1.293 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5867, allocations: 0 / 1.449 GB, free: 1.293 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.5877, allocations: 0.5121 MB / 1.449 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5889, allocations: 292.9 kB / 1.449 GB, free: 0.5078 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5924, allocations: 1.893 MB / 1.451 GB, free: 14.58 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.5929, allocations: 461.4 kB / 1.452 GB, free: 14.1 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000794/0.5937, allocations: 270.6 kB / 1.452 GB, free: 13.84 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.594, allocations: 103.4 kB / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of SimCode: time 5.72e-07/0.594, allocations: 0 / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of Templates: time 0.0293/0.6233, allocations: 16.67 MB / 1.468 GB, free: 13.34 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.881752748042345]