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.001643/0.001643, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001971/0.001971, allocations: 165 kB / 23.82 MB, free: 0.7422 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.765/1.765, allocations: 359 MB / 0.6052 GB, free: 11 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.773e-06/1.773e-06, allocations: 0 / 0.7871 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.852e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002188/0.002217, allocations: 1.535 MB / 0.7886 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003316, allocations: 0.7931 MB / 0.7893 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.003382, allocations: 7.875 kB / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.003424, allocations: 3.938 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.003483, allocations: 8.562 kB / 0.7894 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.004104, allocations: 148.3 kB / 0.7895 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.004222, allocations: 84.34 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.004313, allocations: 8.188 kB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.004461, allocations: 59.41 kB / 0.7896 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.004513, allocations: 19.97 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.004532, allocations: 8 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.004758, allocations: 151.5 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.00478, allocations: 11.97 kB / 0.7898 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.004818, allocations: 23.92 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.005036, allocations: 151.5 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.00504, allocations: 4 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.011e-06/0.005041, allocations: 4 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.005046, allocations: 0.7188 kB / 0.79 GB, free: 9.355 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.0005198/0.005565, allocations: 443.6 kB / 0.7904 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005603, allocations: 8.031 kB / 0.7904 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.005815, allocations: 32.86 kB / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.005983, allocations: 133.8 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.006007, allocations: 8.375 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.006019, allocations: 4.375 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.006163, allocations: 76.5 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006172, allocations: 192 / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006183, allocations: 4.125 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.006191, allocations: 0 / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.006225, allocations: 12.83 kB / 0.7907 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.006641, allocations: 305.4 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.006716, allocations: 43.05 kB / 0.791 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.006745, allocations: 15.67 kB / 0.791 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.006762, allocations: 12.5 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.109e-05/0.006843, allocations: 65.17 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.006845, allocations: 0.6875 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002289/0.007074, allocations: 114.2 kB / 0.7912 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.007247, allocations: 55.41 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.007341, allocations: 183 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.007352, allocations: 25.7 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.007402, allocations: 138.8 kB / 0.7916 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.007418, allocations: 12.44 kB / 0.7916 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.007458, allocations: 40.61 kB / 0.7917 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.00756, allocations: 0.4884 MB / 0.7921 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.00759, allocations: 11.98 kB / 0.7921 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.007633, allocations: 46.98 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.0077, allocations: 52.09 kB / 0.7922 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.007704, allocations: 8.938 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001172/0.007822, allocations: 94.39 kB / 0.7923 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.007835, allocations: 4 kB / 0.7923 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.00784, allocations: 0 / 0.7923 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.007853, allocations: 1.031 kB / 0.7923 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.007936, allocations: 23.92 kB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007942, allocations: 0.7812 kB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.007976, allocations: 7.953 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.007986, allocations: 4.969 kB / 0.7924 GB, free: 6.695 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 8.228e-05/0.008068, allocations: 163 kB / 0.7925 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.008084, allocations: 15.88 kB / 0.7926 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.00811, allocations: 12.44 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.008112, allocations: 0 / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008116, allocations: 0.8438 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.008119, allocations: 3.938 kB / 0.7926 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.008405, allocations: 359.5 kB / 0.7929 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008407, allocations: 0 / 0.7929 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.008432, allocations: 0 / 0.7929 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.008436, allocations: 4 kB / 0.7929 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.008445, allocations: 3.984 kB / 0.7929 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.008447, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008448, allocations: 2.875 kB / 0.7929 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008605, allocations: 247.7 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.008612, allocations: 3.953 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.008626, allocations: 7.984 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.008667, allocations: 4 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.008708, allocations: 11.97 kB / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.008715, allocations: 0 / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.00876, allocations: 142.3 kB / 0.7933 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00876, allocations: 1.5 kB / 0.7933 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002078/0.008968, allocations: 35.94 kB / 0.7934 GB, free: 5.641 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.0003249/0.009293, allocations: 173.1 kB / 0.7935 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.009424, allocations: 52.31 kB / 0.7936 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009426, allocations: 1.219 kB / 0.7936 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.009467, allocations: 27.67 kB / 0.7936 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.009663, allocations: 23.92 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.01022, allocations: 196.3 kB / 0.7938 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.01026, allocations: 59.34 kB / 0.7939 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.01029, allocations: 4 kB / 0.7939 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.01031, allocations: 16.44 kB / 0.7939 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01031, allocations: 0 / 0.7939 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.003564/0.01388, allocations: 1.666 MB / 0.7955 GB, free: 3.406 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.036679924931377]