Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001475/0.001475, allocations: 207.7 kB / 22.99 MB, free: 4.984 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_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.002064/0.002064, allocations: 64.39 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007971/0.3442, allocations: 4.78 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5249, allocations: 132.7 MB / 1.461 GB, free: 6.922 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.5257, allocations: 19.88 kB / 1.461 GB, free: 6.902 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.5264, allocations: 214.1 kB / 1.462 GB, free: 6.691 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.5283, allocations: 0.588 MB / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.5304, allocations: 0.8722 MB / 1.463 GB, free: 5.238 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.5321, allocations: 1.478 MB / 1.464 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.5329, allocations: 426.8 kB / 1.465 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.5338, allocations: 0.5295 MB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.5345, allocations: 0.5367 MB / 1.466 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.5347, allocations: 120 kB / 1.466 GB, free: 2.121 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.5358, allocations: 0.5035 MB / 1.467 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5362, allocations: 318.8 kB / 1.467 GB, free: 1.305 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005204/0.5367, allocations: 489.7 kB / 1.467 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.5391, allocations: 1.751 MB / 1.469 GB, free: 15.06 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5391, allocations: 0 / 1.469 GB, free: 15.06 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5391, allocations: 0 / 1.469 GB, free: 15.06 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.5392, allocations: 0 / 1.469 GB, free: 15.06 MB / 1.17 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.003177/0.5423, allocations: 1.478 MB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5424, allocations: 16.03 kB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.544, allocations: 236 kB / 1.471 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.5455, allocations: 0.7337 MB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.5456, allocations: 66 kB / 1.471 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5457, allocations: 91.92 kB / 1.472 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.5477, allocations: 1.201 MB / 1.473 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.5477, allocations: 3.984 kB / 1.473 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.5478, allocations: 39.98 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.5478, allocations: 24 kB / 1.473 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.5499, allocations: 1.089 MB / 1.474 GB, free: 9.922 MB / 1.17 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.004486/0.5543, allocations: 2.174 MB / 1.476 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.556, allocations: 0.7985 MB / 1.477 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.5566, allocations: 298.8 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.5567, allocations: 24.62 kB / 1.477 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5577, allocations: 0.6066 MB / 1.478 GB, free: 5.922 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.5577, allocations: 0 / 1.478 GB, free: 5.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.00343/0.5611, allocations: 1.164 MB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.5613, allocations: 200.8 kB / 1.479 GB, free: 4.508 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009667/0.5622, allocations: 0.6292 MB / 1.48 GB, free: 3.871 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/0.5623, allocations: 41.7 kB / 1.48 GB, free: 3.824 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.5627, allocations: 425.1 kB / 1.48 GB, free: 3.402 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.563, allocations: 297.5 kB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.5633, allocations: 170.6 kB / 1.48 GB, free: 2.938 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.5635, allocations: 390.7 kB / 1.481 GB, free: 2.547 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.5641, allocations: 273.8 kB / 1.481 GB, free: 2.277 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.5648, allocations: 0.4997 MB / 1.482 GB, free: 1.734 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.566, allocations: 0.632 MB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.566, allocations: 0 / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002114/0.5682, allocations: 0.8804 MB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5682, allocations: 8 kB / 1.483 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5682, allocations: 3.938 kB / 1.483 GB, free: 196 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.5688, allocations: 88.8 kB / 1.483 GB, free: 104 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/0.5696, allocations: 171.8 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.5719, allocations: 1.492 MB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/0.5728, allocations: 99.59 kB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.5729, allocations: 35.98 kB / 1.485 GB, free: 14.2 MB / 1.186 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.0005742/0.5734, allocations: 279.2 kB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.5736, allocations: 87.44 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.5764, allocations: 1.093 MB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5764, allocations: 11.98 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5764, allocations: 4 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5764, allocations: 3.984 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5774, allocations: 0.6616 MB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5774, allocations: 0 / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.5781, allocations: 151.8 kB / 1.487 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.5786, allocations: 72.78 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.5786, allocations: 31.97 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.5807, allocations: 1.528 MB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5807, allocations: 4.031 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.5837, allocations: 1.368 MB / 1.49 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.5842, allocations: 203.1 kB / 1.49 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.5844, allocations: 20 kB / 1.49 GB, free: 8.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.585, allocations: 63.92 kB / 1.49 GB, free: 8.441 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.5852, allocations: 76.86 kB / 1.49 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.5853, allocations: 35.98 kB / 1.49 GB, free: 8.332 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006843/0.586, allocations: 455 kB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.586, allocations: 0 / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001043/0.587, allocations: 351.1 kB / 1.491 GB, free: 7.547 MB / 1.186 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.002201/0.5892, allocations: 0.6515 MB / 1.492 GB, free: 7.102 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.5912, allocations: 0.8234 MB / 1.493 GB, free: 6.266 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5912, allocations: 0 / 1.493 GB, free: 6.266 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5922, allocations: 0.5081 MB / 1.493 GB, free: 5.746 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5935, allocations: 299 kB / 1.493 GB, free: 5.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.5973, allocations: 1.886 MB / 1.495 GB, free: 3.562 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5979, allocations: 457.4 kB / 1.496 GB, free: 3.082 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.5987, allocations: 262.7 kB / 1.496 GB, free: 2.82 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.599, allocations: 107.4 kB / 1.496 GB, free: 2.715 MB / 1.186 GB Notification: Performance of SimCode: time 1.212e-06/0.599, allocations: 0 / 1.496 GB, free: 2.715 MB / 1.186 GB Notification: Performance of Templates: time 0.03054/0.6296, allocations: 16.91 MB / 1.513 GB, free: 2.062 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.73728420700354]