Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.755/1.755, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005928/0.0005934, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6301, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00243/0.6326, allocations: 1.179 MB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.6344, allocations: 0.7178 MB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.6345, allocations: 7.938 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.6345, allocations: 0 / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.6346, allocations: 7.984 kB / 0.7298 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.6353, allocations: 103.6 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.6355, allocations: 43.95 kB / 0.73 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.6356, allocations: 11.92 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.6357, allocations: 27.91 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.6358, allocations: 35.84 kB / 0.7301 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.6359, allocations: 8 kB / 0.7301 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.6361, allocations: 67.92 kB / 0.7301 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.6361, allocations: 15.92 kB / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.6362, allocations: 33.7 kB / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.6365, allocations: 101.7 kB / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6365, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6365, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6365, allocations: 4 kB / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009385/0.6374, allocations: 415.8 kB / 0.7307 GB, free: 8.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.26e-05/0.6375, allocations: 8.031 kB / 0.7307 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.6376, allocations: 15.86 kB / 0.7307 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.6378, allocations: 174.9 kB / 0.7309 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.6378, allocations: 4 kB / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.6379, allocations: 0 / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.6381, allocations: 73.66 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6382, allocations: 0 / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6382, allocations: 4 kB / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6382, allocations: 0 / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.6383, allocations: 51.89 kB / 0.731 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.639, allocations: 316.8 kB / 0.7313 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.6392, allocations: 46.56 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6392, allocations: 0 / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.6395, allocations: 83.44 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.6395, allocations: 0 / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004523/0.6399, allocations: 161.5 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.64, allocations: 55.41 kB / 0.7316 GB, free: 7.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.6401, allocations: 113.8 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.6402, allocations: 37.7 kB / 0.7318 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.6402, allocations: 88.31 kB / 0.7318 GB, free: 7.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.6402, allocations: 19.75 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.6403, allocations: 0 / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6404, allocations: 322.8 kB / 0.7322 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.6405, allocations: 27.98 kB / 0.7322 GB, free: 6.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.6406, allocations: 54.56 kB / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.6407, allocations: 35.92 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6407, allocations: 0 / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002547/0.641, allocations: 121.5 kB / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.641, allocations: 4 kB / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.641, allocations: 0 / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.641, allocations: 7.938 kB / 0.7324 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.6411, allocations: 11.98 kB / 0.7324 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6412, allocations: 3.953 kB / 0.7324 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.6412, allocations: 11.91 kB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.6413, allocations: 7.984 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.6414, allocations: 125.8 kB / 0.7326 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.6414, allocations: 8 kB / 0.7326 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.6415, allocations: 8.359 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.6415, allocations: 0 / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6415, allocations: 0 / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6415, allocations: 3.953 kB / 0.7326 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.6421, allocations: 390.8 kB / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6421, allocations: 3.938 kB / 0.733 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.6421, allocations: 11.92 kB / 0.733 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6421, allocations: 0 / 0.733 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.6422, allocations: 4 kB / 0.733 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6422, allocations: 3.953 kB / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6422, allocations: 0 / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.6426, allocations: 227.5 kB / 0.7332 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.6426, allocations: 77.11 kB / 0.7333 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.6426, allocations: 0 / 0.7333 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.6427, allocations: 7.984 kB / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.6428, allocations: 7.953 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6428, allocations: 8 kB / 0.7333 GB, free: 5.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.6429, allocations: 99.86 kB / 0.7334 GB, free: 5.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6429, allocations: 0 / 0.7334 GB, free: 5.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003121/0.6432, allocations: 43.92 kB / 0.7334 GB, free: 5.461 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004622/0.6437, allocations: 155.2 kB / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.6439, allocations: 75.97 kB / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.644, allocations: 0 / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6441, allocations: 39.91 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.6443, allocations: 4 kB / 0.7337 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.6447, allocations: 219.2 kB / 0.7339 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.645, allocations: 0.6887 MB / 0.7346 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.645, allocations: 8.172 kB / 0.7346 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.645, allocations: 15.44 kB / 0.7346 GB, free: 4.223 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.645, allocations: 0 / 0.7346 GB, free: 4.223 MB / 0.545 GB Notification: Performance of Templates: time 0.00411/0.6491, allocations: 1.341 MB / 0.7359 GB, free: 2.895 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) Environment - environmentSimulation: