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.001468/0.001468, 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.001702/0.001702, allocations: 165 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.9369/0.9369, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.138/2.138, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.452e-06/1.452e-06, allocations: 0 / 0.8781 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.256e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005092/0.005115, allocations: 4.826 MB / 0.8828 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1241/0.1292, allocations: 146.5 MB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000692/0.1299, allocations: 23.81 kB / 1.026 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.1304, allocations: 202.1 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1317, allocations: 0.5669 MB / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.133, allocations: 0.8724 MB / 1.028 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1342, allocations: 1.459 MB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.1347, allocations: 393.9 kB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.1353, allocations: 0.7368 MB / 1.03 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.1357, allocations: 398.8 kB / 1.03 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1358, allocations: 128 kB / 1.031 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.1364, allocations: 0.4915 MB / 1.031 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1366, allocations: 307 kB / 1.031 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.1369, allocations: 391 kB / 1.032 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.1381, allocations: 1.273 MB / 1.033 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1381, allocations: 0 / 1.033 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1381, allocations: 3.938 kB / 1.033 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1381, allocations: 0 / 1.033 GB, free: 7.141 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.001567/0.1397, allocations: 1.523 MB / 1.034 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1397, allocations: 11.97 kB / 1.034 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.1405, allocations: 331.5 kB / 1.035 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.1413, allocations: 0.7169 MB / 1.036 GB, free: 4.492 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.1414, allocations: 70.12 kB / 1.036 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.1414, allocations: 95.98 kB / 1.036 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1425, allocations: 1.016 MB / 1.037 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1425, allocations: 4 kB / 1.037 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.1426, allocations: 36 kB / 1.037 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1426, allocations: 20 kB / 1.037 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.1435, allocations: 0.788 MB / 1.037 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.146, allocations: 2.453 MB / 1.04 GB, free: 15.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.1467, allocations: 497.3 kB / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.147, allocations: 175.2 kB / 1.041 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.147, allocations: 32.62 kB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.1475, allocations: 498.5 kB / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.655e-06/0.1475, allocations: 0 / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001603/0.1491, allocations: 0.8469 MB / 1.042 GB, free: 13.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.1492, allocations: 200.9 kB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.1497, allocations: 0.5893 MB / 1.043 GB, free: 12.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.1497, allocations: 49.7 kB / 1.043 GB, free: 12.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.1501, allocations: 455.9 kB / 1.043 GB, free: 12.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.1503, allocations: 285.5 kB / 1.043 GB, free: 12.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1505, allocations: 184.2 kB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1506, allocations: 0.5625 MB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.1509, allocations: 141.9 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1512, allocations: 401.4 kB / 1.045 GB, free: 10.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.1518, allocations: 406.8 kB / 1.045 GB, free: 10.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1518, allocations: 0 / 1.045 GB, free: 10.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00104/0.1528, allocations: 0.6917 MB / 1.046 GB, free: 9.633 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1528, allocations: 4 kB / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1528, allocations: 4 kB / 1.046 GB, free: 9.625 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.1533, allocations: 131.7 kB / 1.046 GB, free: 9.492 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1537, allocations: 175.7 kB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.1551, allocations: 1.906 MB / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.1554, allocations: 75.59 kB / 1.048 GB, free: 7.215 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.1554, allocations: 35.97 kB / 1.048 GB, free: 7.18 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.0002291/0.1557, allocations: 219 kB / 1.048 GB, free: 6.957 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1558, allocations: 119.4 kB / 1.048 GB, free: 6.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.157, allocations: 0.8344 MB / 1.049 GB, free: 5.988 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.157, allocations: 16 kB / 1.049 GB, free: 5.973 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.157, allocations: 0 / 1.049 GB, free: 5.973 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.157, allocations: 3.984 kB / 1.049 GB, free: 5.969 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.159, allocations: 1.628 MB / 1.051 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.159, allocations: 3.984 kB / 1.051 GB, free: 4.277 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.1593, allocations: 143.8 kB / 1.051 GB, free: 4.137 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.1597, allocations: 111.6 kB / 1.051 GB, free: 4.023 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.1597, allocations: 23.98 kB / 1.051 GB, free: 4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1608, allocations: 1.926 MB / 1.053 GB, free: 1.945 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1608, allocations: 4.031 kB / 1.053 GB, free: 1.941 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1618, allocations: 0.8727 MB / 1.054 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.1621, allocations: 207 kB / 1.054 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.1621, allocations: 24 kB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1625, allocations: 47.95 kB / 1.054 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1626, allocations: 76.86 kB / 1.054 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.1626, allocations: 31.92 kB / 1.054 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003122/0.1629, allocations: 403 kB / 1.054 GB, free: 284 kB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1629, allocations: 0 / 1.054 GB, free: 284 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.442/0.605, allocations: 341.4 kB / 1.055 GB, free: 73.63 MB / 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.001431/0.6064, allocations: 0.6117 MB / 1.055 GB, free: 73.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.6075, allocations: 0.6789 MB / 1.056 GB, free: 73.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6075, allocations: 0 / 1.056 GB, free: 73.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.6079, allocations: 482.5 kB / 1.057 GB, free: 73.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.6088, allocations: 319.3 kB / 1.057 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.6111, allocations: 1.549 MB / 1.058 GB, free: 72.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6112, allocations: 193.7 kB / 1.059 GB, free: 72.36 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004921/0.6117, allocations: 257.5 kB / 1.059 GB, free: 72.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.6119, allocations: 110.9 kB / 1.059 GB, free: 72.32 MB / 1.01 GB Notification: Performance of SimCode: time 1.774e-06/0.6119, allocations: 0 / 1.059 GB, free: 72.32 MB / 1.01 GB Notification: Performance of Templates: time 0.01878/0.6307, allocations: 15.73 MB / 1.074 GB, free: 70.94 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.535424574278295]