Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001363/0.001363, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00143/0.00143, allocations: 173 kB / 23.49 MB, free: 1.062 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.08/2.08, allocations: 429.5 MB / 0.6736 GB, free: 4.074 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.499e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1386/0.1387, allocations: 162 MB / 1.036 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.149, allocations: 8.078 MB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1503, allocations: 43.69 kB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009845/0.1513, allocations: 400.8 kB / 1.045 GB, free: 11.54 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.1542, allocations: 1.406 MB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.1565, allocations: 1.219 MB / 1.047 GB, free: 8.906 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002812/0.1593, allocations: 2.487 MB / 1.05 GB, free: 6.414 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.1606, allocations: 1.015 MB / 1.051 GB, free: 5.379 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.162, allocations: 1.247 MB / 1.052 GB, free: 4.129 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.163, allocations: 0.6829 MB / 1.053 GB, free: 3.457 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1632, allocations: 156 kB / 1.053 GB, free: 3.305 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.165, allocations: 1.044 MB / 1.054 GB, free: 2.258 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.1653, allocations: 462.5 kB / 1.054 GB, free: 1.805 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.1658, allocations: 0.5455 MB / 1.055 GB, free: 1.258 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4515/0.6173, allocations: 1.858 MB / 1.057 GB, free: 53.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.6173, allocations: 0 / 1.057 GB, free: 53.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6173, allocations: 0 / 1.057 GB, free: 53.96 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.281e-05/0.6174, allocations: 0 / 1.057 GB, free: 53.96 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002425/0.6198, allocations: 1.982 MB / 1.058 GB, free: 52.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6198, allocations: 9.438 kB / 1.058 GB, free: 52.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6214, allocations: 0.5004 MB / 1.059 GB, free: 52.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6225, allocations: 0.9772 MB / 1.06 GB, free: 52.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.6226, allocations: 93.58 kB / 1.06 GB, free: 52.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6227, allocations: 119.2 kB / 1.06 GB, free: 52.53 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6238, allocations: 1.294 MB / 1.061 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.6239, allocations: 0 / 1.061 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.6239, allocations: 52.33 kB / 1.061 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.624, allocations: 42.42 kB / 1.061 GB, free: 51.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.625, allocations: 0.8953 MB / 1.062 GB, free: 51.82 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.6284, allocations: 3.049 MB / 1.065 GB, free: 50.69 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.6294, allocations: 0.636 MB / 1.066 GB, free: 50.65 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.6297, allocations: 231.9 kB / 1.066 GB, free: 50.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.6297, allocations: 34.95 kB / 1.066 GB, free: 50.64 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.6303, allocations: 0.661 MB / 1.067 GB, free: 50.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.6303, allocations: 0 / 1.067 GB, free: 50.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.001895/0.6322, allocations: 1.017 MB / 1.068 GB, free: 50.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6322, allocations: 207.5 kB / 1.068 GB, free: 49.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.6329, allocations: 0.7613 MB / 1.069 GB, free: 49.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.6329, allocations: 56.67 kB / 1.069 GB, free: 49.72 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.6332, allocations: 0.5887 MB / 1.069 GB, free: 49.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.6334, allocations: 380.1 kB / 1.07 GB, free: 49.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.6336, allocations: 224.8 kB / 1.07 GB, free: 49.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.6337, allocations: 0.5206 MB / 1.071 GB, free: 48.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.634, allocations: 178.5 kB / 1.071 GB, free: 48.68 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.6344, allocations: 490.8 kB / 1.071 GB, free: 48.38 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.6351, allocations: 0.5382 MB / 1.072 GB, free: 48.24 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6351, allocations: 0.6875 kB / 1.072 GB, free: 48.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00129/0.6364, allocations: 0.8587 MB / 1.073 GB, free: 48.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6364, allocations: 15.25 kB / 1.073 GB, free: 48.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6364, allocations: 2.594 kB / 1.073 GB, free: 48.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.6369, allocations: 127.8 kB / 1.073 GB, free: 48.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.6375, allocations: 237.7 kB / 1.073 GB, free: 48.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.6387, allocations: 1.902 MB / 1.075 GB, free: 46.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.6392, allocations: 99.72 kB / 1.075 GB, free: 46.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.6393, allocations: 57.12 kB / 1.075 GB, free: 46.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.000283/0.6396, allocations: 233.5 kB / 1.075 GB, free: 46.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6397, allocations: 151.4 kB / 1.075 GB, free: 46.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.6411, allocations: 0.9705 MB / 1.076 GB, free: 45.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.6411, allocations: 15.72 kB / 1.076 GB, free: 45.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6411, allocations: 0.9688 kB / 1.076 GB, free: 45.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6411, allocations: 6.656 kB / 1.076 GB, free: 45.96 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.6435, allocations: 1.948 MB / 1.078 GB, free: 45.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6435, allocations: 4.203 kB / 1.078 GB, free: 45.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.6439, allocations: 218.3 kB / 1.078 GB, free: 45.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.6443, allocations: 114.9 kB / 1.078 GB, free: 45.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.6444, allocations: 33.19 kB / 1.078 GB, free: 45.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009121/0.6453, allocations: 1.922 MB / 1.08 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6453, allocations: 0 / 1.08 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.6468, allocations: 1.226 MB / 1.082 GB, free: 43.46 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.6472, allocations: 252.3 kB / 1.082 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6473, allocations: 27.53 kB / 1.082 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.6477, allocations: 54.5 kB / 1.082 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6478, allocations: 90.8 kB / 1.082 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.6479, allocations: 43.28 kB / 1.082 GB, free: 43.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004207/0.6483, allocations: 0.4893 MB / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6483, allocations: 0.9688 kB / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001211/0.6495, allocations: 458.5 kB / 1.083 GB, free: 43.17 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (120): * Single equations (assignments): 109 * 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.00177/0.6513, allocations: 0.6429 MB / 1.084 GB, free: 42.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.6527, allocations: 0.7886 MB / 1.084 GB, free: 42.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6527, allocations: 2.844 kB / 1.084 GB, free: 42.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.6533, allocations: 0.5329 MB / 1.085 GB, free: 42.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6547, allocations: 0.5162 MB / 1.085 GB, free: 42.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.6587, allocations: 2.185 MB / 1.087 GB, free: 41.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.6588, allocations: 256.4 kB / 1.088 GB, free: 41.47 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008273/0.6597, allocations: 313 kB / 1.088 GB, free: 41.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.6599, allocations: 127.3 kB / 1.088 GB, free: 41.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/0.6599, allocations: 0 / 1.088 GB, free: 41.41 MB / 1.01 GB Notification: Performance of Templates: time 0.03749/0.6974, allocations: 22.17 MB / 1.11 GB, free: 39.07 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.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.623509604949504]