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.0009399/0.0009399, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009246/0.0009246, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.8778/0.8778, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11.01 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.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.41e-05, allocations: 6.078 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006188/0.006212, allocations: 5.022 MB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.1461, allocations: 146.6 MB / 0.9351 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.147, allocations: 23.81 kB / 0.9351 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.1476, allocations: 206.1 kB / 0.9353 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.1492, allocations: 0.6017 MB / 0.9359 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1509, allocations: 0.8763 MB / 0.9368 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1523, allocations: 1.509 MB / 0.9383 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.1529, allocations: 414.2 kB / 0.9387 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.154, allocations: 0.7991 MB / 0.9394 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.1545, allocations: 390.7 kB / 0.9398 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1546, allocations: 116 kB / 0.9399 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.1554, allocations: 491.4 kB / 0.9404 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.1556, allocations: 303 kB / 0.9407 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.156, allocations: 398.9 kB / 0.9411 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1575, allocations: 1.269 MB / 0.9423 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1575, allocations: 0 / 0.9423 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1575, allocations: 0 / 0.9423 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.333e-05/0.1575, allocations: 0 / 0.9423 GB, free: 13.04 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001958/0.1595, allocations: 1.547 MB / 0.9438 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1595, allocations: 15.97 kB / 0.9438 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.1606, allocations: 339.5 kB / 0.9441 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.1615, allocations: 0.7189 MB / 0.9448 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.1616, allocations: 74.06 kB / 0.9449 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1617, allocations: 92 kB / 0.945 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1629, allocations: 0.9556 MB / 0.9459 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1629, allocations: 0 / 0.9459 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.163, allocations: 43.98 kB / 0.946 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.163, allocations: 24 kB / 0.946 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1641, allocations: 0.7919 MB / 0.9468 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.167, allocations: 2.352 MB / 0.9491 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/0.1679, allocations: 0.523 MB / 0.9496 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.1682, allocations: 192.6 kB / 0.9498 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.1683, allocations: 36.92 kB / 0.9498 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005926/0.1689, allocations: 494.9 kB / 0.9503 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.655e-06/0.1689, allocations: 0 / 0.9503 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001894/0.1708, allocations: 0.8665 MB / 0.9511 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.1709, allocations: 192.9 kB / 0.9513 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.1745, allocations: 0.5932 MB / 0.9519 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.1745, allocations: 49.7 kB / 0.9519 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.1748, allocations: 464 kB / 0.9524 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.1751, allocations: 301.5 kB / 0.9527 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1753, allocations: 196.1 kB / 0.9528 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1755, allocations: 0.5703 MB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1758, allocations: 145.9 kB / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.1762, allocations: 389.7 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.1768, allocations: 411.1 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1768, allocations: 0 / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004333/0.1812, allocations: 0.6918 MB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1812, allocations: 4 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1812, allocations: 4 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.1818, allocations: 123.7 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.1823, allocations: 187.8 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/0.1868, allocations: 1.906 MB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.1872, allocations: 85.05 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.1872, allocations: 39.97 kB / 0.9573 GB, free: 13.1 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (110): * Single equations (assignments): 109 * 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.000229/0.1875, allocations: 219 kB / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.1876, allocations: 119.5 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.1894, allocations: 0.8539 MB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1894, allocations: 8 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.1894, allocations: 4 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1894, allocations: 7.969 kB / 0.9584 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.1916, allocations: 1.647 MB / 0.9601 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1916, allocations: 0 / 0.9601 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.1921, allocations: 155.8 kB / 0.9602 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/0.1925, allocations: 119.6 kB / 0.9603 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.1925, allocations: 23.98 kB / 0.9603 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1936, allocations: 1.918 MB / 0.9622 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1936, allocations: 0 / 0.9622 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.1948, allocations: 1.074 MB / 0.9633 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.195, allocations: 199.1 kB / 0.9634 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.1951, allocations: 27.89 kB / 0.9635 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1953, allocations: 46.95 kB / 0.9635 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1955, allocations: 72.86 kB / 0.9636 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.1955, allocations: 39.97 kB / 0.9636 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002816/0.1958, allocations: 394.9 kB / 0.964 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1958, allocations: 0 / 0.964 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005719/0.1963, allocations: 347.1 kB / 0.9643 GB, free: 5.621 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 (101): * Single equations (assignments): 90 * 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.1975, allocations: 0.6184 MB / 0.9649 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008338/0.1983, allocations: 0.6877 MB / 0.9656 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1983, allocations: 7.984 kB / 0.9656 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.1987, allocations: 489 kB / 0.9661 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.1994, allocations: 326.9 kB / 0.9664 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.2016, allocations: 1.647 MB / 0.968 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2017, allocations: 194.9 kB / 0.9682 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004515/0.2022, allocations: 266.7 kB / 0.9684 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2024, allocations: 112.4 kB / 0.9686 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.2024, allocations: 4 kB / 0.9686 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of Templates: time 0.01882/0.2212, allocations: 16.71 MB / 0.9849 GB, free: 0.9531 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.64231151342392]