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.001275/0.001275, allocations: 92.22 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.001337/0.001337, allocations: 173 kB / 23.02 MB, free: 1.547 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.8697/0.8697, 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 1.412e-06/1.412e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.677e-05, allocations: 5.672 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005017/0.005034, allocations: 5.159 MB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1245/0.1295, allocations: 146.6 MB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.1302, allocations: 23.81 kB / 1.026 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.1307, allocations: 206.1 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.1319, allocations: 0.6134 MB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1331, allocations: 0.8841 MB / 1.028 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.1341, allocations: 1.537 MB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.1346, allocations: 414.8 kB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006838/0.1353, allocations: 0.8146 MB / 1.031 GB, free: 9.523 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.1356, allocations: 402.8 kB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1357, allocations: 120 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.1363, allocations: 0.4914 MB / 1.032 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1365, allocations: 307 kB / 1.032 GB, free: 8.219 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.1367, allocations: 398.9 kB / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1378, allocations: 1.284 MB / 1.034 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1378, allocations: 0 / 1.034 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1378, allocations: 0 / 1.034 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.1378, allocations: 0 / 1.034 GB, free: 6.539 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.001442/0.1392, allocations: 1.575 MB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1393, allocations: 16.03 kB / 1.035 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.14, allocations: 331.5 kB / 1.036 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.1407, allocations: 0.7422 MB / 1.036 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.1407, allocations: 74.12 kB / 1.036 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.1408, allocations: 96 kB / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.1417, allocations: 0.9673 MB / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1417, allocations: 3.984 kB / 1.037 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.1418, allocations: 40 kB / 1.037 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1418, allocations: 20 kB / 1.037 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.1426, allocations: 0.8114 MB / 1.038 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1449, allocations: 2.376 MB / 1.041 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.1456, allocations: 0.5367 MB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.1459, allocations: 202.7 kB / 1.041 GB, free: 14.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.1459, allocations: 36.86 kB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.1464, allocations: 0.495 MB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 2.715e-06/0.1464, allocations: 4 kB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.00145/0.1478, allocations: 0.8782 MB / 1.043 GB, free: 13.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1479, allocations: 200.9 kB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.1484, allocations: 0.5932 MB / 1.043 GB, free: 12.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.1484, allocations: 49.7 kB / 1.043 GB, free: 12.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.1487, allocations: 472 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1489, allocations: 317.4 kB / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.149, allocations: 192.2 kB / 1.044 GB, free: 11.17 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1492, allocations: 0.5664 MB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1494, allocations: 149.9 kB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.1498, allocations: 397.7 kB / 1.045 GB, free: 10.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.1503, allocations: 419.1 kB / 1.046 GB, free: 9.578 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1503, allocations: 4 kB / 1.046 GB, free: 9.574 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009606/0.1512, allocations: 0.7036 MB / 1.047 GB, free: 8.863 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1512, allocations: 4 kB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1512, allocations: 8.094 kB / 1.047 GB, free: 8.852 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.1517, allocations: 131.5 kB / 1.047 GB, free: 8.719 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.1521, allocations: 183.8 kB / 1.047 GB, free: 8.539 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1534, allocations: 1.906 MB / 1.049 GB, free: 6.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1536, allocations: 79.53 kB / 1.049 GB, free: 6.422 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.1537, allocations: 44.03 kB / 1.049 GB, free: 6.379 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.0001847/0.1539, allocations: 215 kB / 1.049 GB, free: 6.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.154, allocations: 127.4 kB / 1.049 GB, free: 6.035 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.1551, allocations: 0.8735 MB / 1.05 GB, free: 5.152 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1551, allocations: 8 kB / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1551, allocations: 0 / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1551, allocations: 7.984 kB / 1.05 GB, free: 5.137 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.1568, allocations: 1.679 MB / 1.052 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1568, allocations: 0 / 1.052 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.1571, allocations: 159.8 kB / 1.052 GB, free: 3.238 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.1575, allocations: 115.6 kB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.1575, allocations: 23.98 kB / 1.052 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.1585, allocations: 1.925 MB / 1.054 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1585, allocations: 3.984 kB / 1.054 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4217/0.5801, allocations: 1.079 MB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.5806, allocations: 202.2 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5807, allocations: 23.59 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.5811, allocations: 47.72 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.5812, allocations: 74.03 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.5813, allocations: 38.47 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003252/0.5816, allocations: 394.2 kB / 1.056 GB, free: 69.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5816, allocations: 0 / 1.056 GB, free: 69.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007581/0.5823, allocations: 356.3 kB / 1.056 GB, free: 69.82 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.001245/0.5836, allocations: 0.6171 MB / 1.057 GB, free: 69.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.5846, allocations: 0.696 MB / 1.057 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5846, allocations: 3.844 kB / 1.057 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.5851, allocations: 492.1 kB / 1.058 GB, free: 69.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.5859, allocations: 336.7 kB / 1.058 GB, free: 69.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.5885, allocations: 1.716 MB / 1.06 GB, free: 68.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.5886, allocations: 200.9 kB / 1.06 GB, free: 68.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006498/0.5893, allocations: 259.6 kB / 1.06 GB, free: 68.47 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5895, allocations: 118.2 kB / 1.06 GB, free: 68.47 MB / 1.01 GB Notification: Performance of SimCode: time 2.545e-06/0.5895, allocations: 0 / 1.06 GB, free: 68.47 MB / 1.01 GB Notification: Performance of Templates: time 0.0216/0.6111, allocations: 16.87 MB / 1.077 GB, free: 66.89 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.241976472083479]