Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001665/0.001665, allocations: 165 kB / 23.01 MB, free: 1.551 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.115/2.115, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.779e-05, allocations: 3.156 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006476/0.006504, allocations: 5.161 MB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.1365, allocations: 146.6 MB / 1.026 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007/0.1372, allocations: 19.88 kB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1377, allocations: 210 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.1391, allocations: 0.6018 MB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1405, allocations: 0.8802 MB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1417, allocations: 1.544 MB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.1423, allocations: 414.7 kB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008636/0.1432, allocations: 0.7836 MB / 1.031 GB, free: 9.555 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.1437, allocations: 426.7 kB / 1.031 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1438, allocations: 128 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.1445, allocations: 0.4955 MB / 1.032 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1447, allocations: 330.9 kB / 1.032 GB, free: 8.191 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.145, allocations: 414.9 kB / 1.032 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1466, allocations: 1.319 MB / 1.034 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1466, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.307e-06/0.1466, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.1466, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.9948 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.001803/0.1484, allocations: 1.59 MB / 1.035 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1484, allocations: 8.031 kB / 1.035 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/0.1493, allocations: 335.6 kB / 1.036 GB, free: 4.488 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.1502, allocations: 0.7519 MB / 1.036 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.1502, allocations: 70.12 kB / 1.036 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1503, allocations: 104 kB / 1.037 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1514, allocations: 1.036 MB / 1.038 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.1514, allocations: 0 / 1.038 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.1514, allocations: 40 kB / 1.038 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1515, allocations: 20 kB / 1.038 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.1524, allocations: 0.8114 MB / 1.038 GB, free: 1.512 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.1551, allocations: 2.419 MB / 1.041 GB, free: 15.03 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.1559, allocations: 0.5484 MB / 1.041 GB, free: 14.47 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1562, allocations: 191 kB / 1.041 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.1562, allocations: 40.91 kB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.1568, allocations: 0.4989 MB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 1.984e-06/0.1568, allocations: 0 / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.001624/0.1584, allocations: 0.8939 MB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.1585, allocations: 196.9 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.159, allocations: 0.6087 MB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.1591, allocations: 49.7 kB / 1.044 GB, free: 11.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.1593, allocations: 476 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1595, allocations: 317.3 kB / 1.044 GB, free: 11.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1597, allocations: 188.2 kB / 1.045 GB, free: 10.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1598, allocations: 0.5664 MB / 1.045 GB, free: 10.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1601, allocations: 153.9 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1604, allocations: 393.8 kB / 1.046 GB, free: 9.742 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.161, allocations: 423.1 kB / 1.046 GB, free: 9.309 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.161, allocations: 0 / 1.046 GB, free: 9.309 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001072/0.1621, allocations: 0.7152 MB / 1.047 GB, free: 8.586 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1621, allocations: 4 kB / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1621, allocations: 0 / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.1626, allocations: 127.6 kB / 1.047 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.1631, allocations: 199.7 kB / 1.047 GB, free: 8.258 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1644, allocations: 1.906 MB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.1647, allocations: 75.59 kB / 1.049 GB, free: 6.145 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.1648, allocations: 43.97 kB / 1.049 GB, free: 6.102 MB / 1.01 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 (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.0002149/0.165, allocations: 222.9 kB / 1.049 GB, free: 5.875 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1651, allocations: 127.4 kB / 1.049 GB, free: 5.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1663, allocations: 0.8657 MB / 1.05 GB, free: 4.871 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1664, allocations: 12 kB / 1.05 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1664, allocations: 0 / 1.05 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1664, allocations: 7.969 kB / 1.05 GB, free: 4.852 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.1683, allocations: 1.694 MB / 1.052 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1683, allocations: 0 / 1.052 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.1687, allocations: 151.8 kB / 1.052 GB, free: 2.949 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.169, allocations: 127.5 kB / 1.052 GB, free: 2.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.1691, allocations: 23.98 kB / 1.052 GB, free: 2.797 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1702, allocations: 1.921 MB / 1.054 GB, free: 0.7461 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1702, allocations: 0 / 1.054 GB, free: 0.7461 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4335/0.6038, allocations: 1.09 MB / 1.055 GB, free: 73.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.6042, allocations: 208.2 kB / 1.055 GB, free: 73.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6043, allocations: 23.38 kB / 1.055 GB, free: 73.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.6046, allocations: 46.91 kB / 1.055 GB, free: 73.37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6047, allocations: 83.91 kB / 1.056 GB, free: 73.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.6047, allocations: 34.2 kB / 1.056 GB, free: 73.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003369/0.6051, allocations: 407.4 kB / 1.056 GB, free: 73.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6051, allocations: 1.188 kB / 1.056 GB, free: 73.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007327/0.6058, allocations: 355.3 kB / 1.056 GB, free: 73.23 MB / 1.01 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 (103): * Single equations (assignments): 92 * 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.00124/0.6071, allocations: 0.6294 MB / 1.057 GB, free: 73.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.6081, allocations: 0.7014 MB / 1.058 GB, free: 72.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6081, allocations: 0 / 1.058 GB, free: 72.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.6085, allocations: 0.4891 MB / 1.058 GB, free: 72.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.6093, allocations: 326.4 kB / 1.058 GB, free: 72.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.6118, allocations: 1.725 MB / 1.06 GB, free: 71.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.612, allocations: 202.1 kB / 1.06 GB, free: 71.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004852/0.6124, allocations: 261.1 kB / 1.06 GB, free: 71.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.6126, allocations: 109.3 kB / 1.061 GB, free: 71.88 MB / 1.01 GB Notification: Performance of SimCode: time 9.92e-07/0.6126, allocations: 0.9688 kB / 1.061 GB, free: 71.88 MB / 1.01 GB Notification: Performance of Templates: time 0.01938/0.632, allocations: 16.13 MB / 1.076 GB, free: 70.41 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.704171230085194]