Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001015/0.001015, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00101/0.00101, allocations: 161 kB / 23.82 MB, free: 0.75 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.82/1.82, allocations: 359 MB / 0.6052 GB, free: 11.04 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.765e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002169/0.002196, allocations: 1.549 MB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.00342, allocations: 0.7929 MB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.003486, allocations: 0 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.003524, allocations: 3.938 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.003577, allocations: 8.938 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.004181, allocations: 148 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.004302, allocations: 81.09 kB / 0.7896 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004406, allocations: 8.188 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.004551, allocations: 63.81 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.004603, allocations: 26.88 kB / 0.7897 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.004624, allocations: 8 kB / 0.7897 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.004837, allocations: 139.7 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.004864, allocations: 19.91 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.004905, allocations: 15.98 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.005144, allocations: 151.5 kB / 0.79 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.005147, allocations: 7.922 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005148, allocations: 0 / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005152, allocations: 5.25 kB / 0.79 GB, free: 9.555 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.0005352/0.005687, allocations: 441.8 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.005724, allocations: 12.03 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.005933, allocations: 38.08 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006107, allocations: 129.2 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.006132, allocations: 8.359 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.00615, allocations: 9.062 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.006301, allocations: 63.42 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006311, allocations: 4.188 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.006325, allocations: 8.906 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006333, allocations: 0 / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.006371, allocations: 17.3 kB / 0.7907 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.006779, allocations: 299.7 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.006848, allocations: 36.86 kB / 0.791 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.006881, allocations: 23.8 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.006904, allocations: 7.938 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.799e-05/0.006992, allocations: 68.98 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.006994, allocations: 1.531 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002302/0.007224, allocations: 109.9 kB / 0.7912 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.007262, allocations: 55.41 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.00735, allocations: 184.7 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007363, allocations: 31.52 kB / 0.7915 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.007413, allocations: 138.8 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.00743, allocations: 11.91 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.007471, allocations: 35.36 kB / 0.7917 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007582, allocations: 0.4945 MB / 0.7921 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.007611, allocations: 11.98 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.007653, allocations: 39.06 kB / 0.7922 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.007717, allocations: 51.05 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007719, allocations: 3.938 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001183/0.007837, allocations: 102.7 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.00785, allocations: 8 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.007855, allocations: 0.5312 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.007872, allocations: 0 / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.007951, allocations: 17.58 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007956, allocations: 0 / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.00799, allocations: 11.95 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.008, allocations: 4 kB / 0.7924 GB, free: 6.895 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 7.019e-05/0.00807, allocations: 161.7 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.008085, allocations: 20.44 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.008115, allocations: 12.44 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.008116, allocations: 0.7188 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008119, allocations: 0 / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.008122, allocations: 0.8438 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.008386, allocations: 345.3 kB / 0.7929 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008388, allocations: 5.844 kB / 0.7929 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.008409, allocations: 0 / 0.7929 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008412, allocations: 4 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.008421, allocations: 3.984 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008423, allocations: 7.938 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008424, allocations: 0.7812 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.008567, allocations: 247.8 kB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.008574, allocations: 6.328 kB / 0.7932 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.008589, allocations: 7.984 kB / 0.7932 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.00863, allocations: 0 / 0.7932 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.008667, allocations: 7.984 kB / 0.7932 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.008674, allocations: 0 / 0.7932 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.008716, allocations: 139.2 kB / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008716, allocations: 0 / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002057/0.008922, allocations: 37.91 kB / 0.7933 GB, free: 5.848 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.0003225/0.009244, allocations: 179.3 kB / 0.7935 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.009369, allocations: 55.58 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00937, allocations: 1.25 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.009411, allocations: 27.61 kB / 0.7936 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.009611, allocations: 22.58 kB / 0.7936 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.01017, allocations: 189.1 kB / 0.7938 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.01021, allocations: 63.34 kB / 0.7939 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.01024, allocations: 8.797 kB / 0.7939 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.01026, allocations: 13.59 kB / 0.7939 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.01027, allocations: 0 / 0.7939 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.003336/0.0136, allocations: 1.513 MB / 0.7954 GB, free: 3.766 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.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: 5.367109940387309]