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.0009668/0.0009668, allocations: 77.97 kB / 20.68 MB, free: 3.809 MB / 18.57 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.001176/0.001176, allocations: 177 kB / 24.08 MB, free: 416 kB / 18.57 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 0.9976/0.9976, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.797/1.797, allocations: 359 MB / 0.6055 GB, free: 10.82 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.7875 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.938e-05, allocations: 3.156 kB / 0.7875 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005319/0.005338, allocations: 5.033 MB / 0.7925 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1258/0.1311, allocations: 143.9 MB / 0.933 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.1319, allocations: 23.81 kB / 0.933 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.1324, allocations: 214.1 kB / 0.9332 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1339, allocations: 0.6055 MB / 0.9338 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1354, allocations: 0.8802 MB / 0.9346 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1364, allocations: 1.54 MB / 0.9362 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.1369, allocations: 418.7 kB / 0.9366 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.1378, allocations: 0.8186 MB / 0.9374 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.1382, allocations: 394.8 kB / 0.9377 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1383, allocations: 116 kB / 0.9378 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.1389, allocations: 495.4 kB / 0.9383 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1391, allocations: 318.9 kB / 0.9386 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.1393, allocations: 398.9 kB / 0.939 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1404, allocations: 1.292 MB / 0.9403 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1404, allocations: 0 / 0.9403 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1404, allocations: 0 / 0.9403 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1404, allocations: 0 / 0.9403 GB, free: 15.23 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001494/0.1419, allocations: 1.59 MB / 0.9418 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.142, allocations: 12.03 kB / 0.9418 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.1427, allocations: 335.5 kB / 0.9421 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.1434, allocations: 0.7383 MB / 0.9429 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.1434, allocations: 74.12 kB / 0.9429 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.1435, allocations: 99.98 kB / 0.943 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.1442, allocations: 0.9046 MB / 0.9439 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1443, allocations: 0 / 0.9439 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.1443, allocations: 39.98 kB / 0.944 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1443, allocations: 24 kB / 0.944 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.1451, allocations: 0.6923 MB / 0.9446 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.1473, allocations: 2.271 MB / 0.9469 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.1478, allocations: 0.493 MB / 0.9473 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.148, allocations: 170.5 kB / 0.9475 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.1481, allocations: 56.78 kB / 0.9476 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.1485, allocations: 481.6 kB / 0.948 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 2.135e-06/0.1485, allocations: 0 / 0.948 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.001237/0.1497, allocations: 0.8002 MB / 0.9488 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.1498, allocations: 208.8 kB / 0.949 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.1502, allocations: 0.5734 MB / 0.9496 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1502, allocations: 49.7 kB / 0.9496 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1504, allocations: 479.9 kB / 0.9501 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1506, allocations: 317.3 kB / 0.9504 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1508, allocations: 192.1 kB / 0.9506 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1509, allocations: 0.5779 MB / 0.9511 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1511, allocations: 113.9 kB / 0.9512 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.1515, allocations: 365.7 kB / 0.9516 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1518, allocations: 363 kB / 0.9519 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1518, allocations: 0 / 0.9519 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.000777/0.1526, allocations: 0.6411 MB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1526, allocations: 4 kB / 0.9526 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.1526, allocations: 4 kB / 0.9526 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.153, allocations: 123.6 kB / 0.9527 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.1534, allocations: 199.7 kB / 0.9529 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1546, allocations: 1.875 MB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1548, allocations: 73.62 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.1548, allocations: 40.03 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 112 * 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.0001853/0.155, allocations: 223.2 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1551, allocations: 119.4 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009567/0.1561, allocations: 0.8148 MB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1561, allocations: 8 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1561, allocations: 8 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1561, allocations: 3.984 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1576, allocations: 1.503 MB / 0.9574 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1576, allocations: 4 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.1579, allocations: 163.7 kB / 0.9576 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.1582, allocations: 107.6 kB / 0.9577 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.1583, allocations: 31.91 kB / 0.9577 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1594, allocations: 1.891 MB / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1594, allocations: 0 / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.1604, allocations: 0.9916 MB / 0.9605 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.1606, allocations: 199 kB / 0.9607 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.1607, allocations: 20 kB / 0.9607 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.1609, allocations: 48 kB / 0.9608 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.161, allocations: 68.86 kB / 0.9608 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.161, allocations: 39.91 kB / 0.9609 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002133/0.1612, allocations: 374.8 kB / 0.9612 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1612, allocations: 0 / 0.9612 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000576/0.1618, allocations: 347.1 kB / 0.9616 GB, free: 8.59 MB / 0.9167 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001102/0.1629, allocations: 0.634 MB / 0.9622 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.1636, allocations: 0.6405 MB / 0.9628 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1636, allocations: 0 / 0.9628 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.164, allocations: 464.9 kB / 0.9633 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.1646, allocations: 317.6 kB / 0.9636 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1668, allocations: 1.711 MB / 0.9652 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1671, allocations: 210.9 kB / 0.9654 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.1674, allocations: 187.2 kB / 0.9656 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.1679, allocations: 369.9 kB / 0.966 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1679, allocations: 7.938 kB / 0.966 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of Templates: time 0.01881/0.1867, allocations: 17.25 MB / 0.9828 GB, free: 3.238 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.714171017985791]