Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.0009155/0.0009155, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001118/0.001118, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.9251/0.9251, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.627e-05, allocations: 3.094 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002384/0.002411, allocations: 1.537 MB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.003409, allocations: 0.7799 MB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.003472, allocations: 4.969 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.003499, allocations: 7.875 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.003549, allocations: 8.984 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.004036, allocations: 152.9 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.004132, allocations: 75.77 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.004212, allocations: 12.17 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004339, allocations: 51.89 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.004387, allocations: 33.89 kB / 0.7901 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.004405, allocations: 8 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.004592, allocations: 139.6 kB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.004615, allocations: 19.97 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.004643, allocations: 19.92 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.004838, allocations: 157.8 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00484, allocations: 0 / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/0.004842, allocations: 0 / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004846, allocations: 0 / 0.7904 GB, free: 9.23 MB / 0.7448 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.0004506/0.005297, allocations: 445.9 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.005334, allocations: 12.56 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.005525, allocations: 34.45 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.005648, allocations: 131.4 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.005663, allocations: 8.312 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.005674, allocations: 13.22 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005777, allocations: 62.92 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.005783, allocations: 0.8125 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005791, allocations: 4.125 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005796, allocations: 5.344 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.00582, allocations: 11.98 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.006146, allocations: 286.8 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.006205, allocations: 38.98 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.006225, allocations: 15.69 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.006248, allocations: 0 / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.376e-05/0.006322, allocations: 77.08 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.006323, allocations: 0.7188 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001791/0.006502, allocations: 97.55 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.006534, allocations: 55.92 kB / 0.7917 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.00662, allocations: 183.5 kB / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006633, allocations: 25.7 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.006689, allocations: 146.8 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.006709, allocations: 15.91 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.006748, allocations: 35.34 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006863, allocations: 0.489 MB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.00688, allocations: 8 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.006912, allocations: 40.2 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.006967, allocations: 56.12 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.00697, allocations: 4 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.547e-05/0.007065, allocations: 82.89 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007076, allocations: 4 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.007082, allocations: 7.984 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.007092, allocations: 3.938 kB / 0.7928 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.007153, allocations: 13.75 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007157, allocations: 4 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.007193, allocations: 19.88 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.007201, allocations: 0 / 0.7928 GB, free: 6.617 MB / 0.7448 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.00727, allocations: 161.5 kB / 0.7929 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.007286, allocations: 20.73 kB / 0.793 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.007307, allocations: 8.422 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007309, allocations: 5.266 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007311, allocations: 0 / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007314, allocations: 0 / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.007562, allocations: 329.9 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007564, allocations: 0.7812 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.007589, allocations: 7.984 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.007591, allocations: 0.875 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.007596, allocations: 0 / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007597, allocations: 1.562 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.007597, allocations: 0 / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.007719, allocations: 243.8 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.007728, allocations: 7.938 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.007738, allocations: 4 kB / 0.7935 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.007776, allocations: 5.062 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.007803, allocations: 7.984 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007808, allocations: 3.219 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.007849, allocations: 140.9 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007849, allocations: 0 / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001816/0.00803, allocations: 39.92 kB / 0.7937 GB, free: 5.602 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.0083, allocations: 178.6 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.008388, allocations: 49.55 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008389, allocations: 0 / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.008424, allocations: 27.66 kB / 0.794 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.008601, allocations: 13.47 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.009056, allocations: 190.1 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.00909, allocations: 59.34 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.009118, allocations: 4 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.009167, allocations: 80.56 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.009168, allocations: 0 / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of Templates: time 0.003445/0.01261, allocations: 1.689 MB / 0.796 GB, free: 3.297 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.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: 4.777004290372133]