Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001471/0.001471, allocations: 92.22 kB / 19.65 MB, free: 280 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.001614/0.001614, allocations: 169 kB / 23.02 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 0.9269/0.9269, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.044/2.044, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.5e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005507/0.005532, allocations: 4.829 MB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.1366, allocations: 146.5 MB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.1373, allocations: 23.81 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.1379, allocations: 202.1 kB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1394, allocations: 0.5746 MB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.141, allocations: 0.8685 MB / 1.028 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1422, allocations: 1.463 MB / 1.029 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.1429, allocations: 390 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.1439, allocations: 0.7757 MB / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.1444, allocations: 378.8 kB / 1.031 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.1445, allocations: 108 kB / 1.031 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008014/0.1453, allocations: 491.4 kB / 1.031 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1455, allocations: 295 kB / 1.031 GB, free: 8.871 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1458, allocations: 371 kB / 1.032 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1472, allocations: 1.238 MB / 1.033 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1472, allocations: 0 / 1.033 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1472, allocations: 4 kB / 1.033 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.1472, allocations: 4 kB / 1.033 GB, free: 7.258 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001663/0.1488, allocations: 1.507 MB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1489, allocations: 12.03 kB / 1.034 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.1497, allocations: 331.6 kB / 1.035 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1505, allocations: 0.7189 MB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.1505, allocations: 70.11 kB / 1.035 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.1506, allocations: 88 kB / 1.036 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1518, allocations: 0.9358 MB / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1518, allocations: 0 / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.1518, allocations: 39.98 kB / 1.037 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.1518, allocations: 24 kB / 1.037 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.1527, allocations: 0.7801 MB / 1.037 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.1551, allocations: 2.4 MB / 1.04 GB, free: 124 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1559, allocations: 0.4896 MB / 1.04 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1561, allocations: 179.8 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.1562, allocations: 32.62 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/0.1566, allocations: 498.5 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.275e-06/0.1566, allocations: 4 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001495/0.1581, allocations: 0.8391 MB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1582, allocations: 196.9 kB / 1.042 GB, free: 13.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.1587, allocations: 0.5776 MB / 1.042 GB, free: 13.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.1587, allocations: 49.7 kB / 1.042 GB, free: 13.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1589, allocations: 459.9 kB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.1592, allocations: 293.6 kB / 1.043 GB, free: 12.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.1594, allocations: 188.2 kB / 1.043 GB, free: 12.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1595, allocations: 0.5586 MB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1598, allocations: 141.9 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1601, allocations: 393.4 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.1606, allocations: 402.8 kB / 1.045 GB, free: 10.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1606, allocations: 4 kB / 1.045 GB, free: 10.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009413/0.1615, allocations: 0.6762 MB / 1.045 GB, free: 9.957 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1615, allocations: 8 kB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1616, allocations: 4.125 kB / 1.045 GB, free: 9.945 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/0.162, allocations: 127.6 kB / 1.046 GB, free: 9.816 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.1624, allocations: 179.7 kB / 1.046 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.1637, allocations: 1.913 MB / 1.048 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.164, allocations: 75.59 kB / 1.048 GB, free: 7.527 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.164, allocations: 35.97 kB / 1.048 GB, free: 7.492 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0002004/0.1642, allocations: 215 kB / 1.048 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1643, allocations: 123.4 kB / 1.048 GB, free: 7.152 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1654, allocations: 0.8304 MB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1654, allocations: 12 kB / 1.049 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1654, allocations: 0 / 1.049 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1654, allocations: 3.984 kB / 1.049 GB, free: 6.285 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.1673, allocations: 1.608 MB / 1.05 GB, free: 4.621 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1673, allocations: 0 / 1.05 GB, free: 4.621 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1676, allocations: 143.8 kB / 1.051 GB, free: 4.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.1679, allocations: 115.6 kB / 1.051 GB, free: 4.363 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.168, allocations: 23.98 kB / 1.051 GB, free: 4.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.1691, allocations: 1.93 MB / 1.053 GB, free: 2.281 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1691, allocations: 0 / 1.053 GB, free: 2.281 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.1701, allocations: 0.8728 MB / 1.053 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.1703, allocations: 199.1 kB / 1.054 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.1704, allocations: 20 kB / 1.054 GB, free: 1.168 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.1706, allocations: 35.97 kB / 1.054 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1707, allocations: 76.86 kB / 1.054 GB, free: 1.059 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.1707, allocations: 31.92 kB / 1.054 GB, free: 1.027 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002875/0.171, allocations: 391 kB / 1.054 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.171, allocations: 0 / 1.054 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006416/0.1717, allocations: 339.1 kB / 1.054 GB, free: 324 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (96): * Single equations (assignments): 85 * 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.3418/0.5135, allocations: 0.6171 MB / 1.055 GB, free: 74.53 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.5146, allocations: 0.6756 MB / 1.056 GB, free: 74.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5147, allocations: 0 / 1.056 GB, free: 74.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.5151, allocations: 475.1 kB / 1.056 GB, free: 74.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.5159, allocations: 324.1 kB / 1.057 GB, free: 74.15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.5182, allocations: 1.546 MB / 1.058 GB, free: 73.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.5182, allocations: 190.7 kB / 1.058 GB, free: 73.38 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004891/0.5187, allocations: 248.5 kB / 1.058 GB, free: 73.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.5189, allocations: 109 kB / 1.059 GB, free: 73.36 MB / 1.01 GB Notification: Performance of SimCode: time 1.492e-06/0.5189, allocations: 0 / 1.059 GB, free: 73.36 MB / 1.01 GB Notification: Performance of Templates: time 0.02185/0.5408, allocations: 16.46 MB / 1.075 GB, free: 71.86 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.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.187187843024731]