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.0009914/0.0009914, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001144/0.001144, allocations: 169 kB / 24.28 MB, free: 276 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 1.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.806/1.806, allocations: 359 MB / 0.6055 GB, free: 10.99 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 2.064e-06/2.064e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.346e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002736/0.00276, allocations: 1.532 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.00429, allocations: 0.7847 MB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.004369, allocations: 1 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.004407, allocations: 11.86 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.004472, allocations: 17.83 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.005171, allocations: 143.4 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.005331, allocations: 75.72 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005444, allocations: 12.17 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005618, allocations: 48.58 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.005687, allocations: 35.88 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.00571, allocations: 8.875 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.005978, allocations: 143.6 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.006002, allocations: 13.08 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.00605, allocations: 23.97 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.006327, allocations: 147.6 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00633, allocations: 1.062 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00633, allocations: 0 / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.006335, allocations: 0 / 0.79 GB, free: 9.836 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.0006249/0.00696, allocations: 455.4 kB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.00701, allocations: 12.03 kB / 0.7904 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.007306, allocations: 34.69 kB / 0.7905 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.007486, allocations: 139.6 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.00751, allocations: 8.312 kB / 0.7906 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.007526, allocations: 4.375 kB / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007686, allocations: 69.36 kB / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007694, allocations: 192 / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.007708, allocations: 8.125 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.007717, allocations: 0 / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.007768, allocations: 15.98 kB / 0.7907 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.008255, allocations: 300.3 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.008345, allocations: 44.64 kB / 0.791 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.008386, allocations: 15.69 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.008412, allocations: 12.06 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.008515, allocations: 69.03 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.008516, allocations: 0.6875 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002854/0.008802, allocations: 101.8 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.008845, allocations: 56.25 kB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.008965, allocations: 181.9 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.008981, allocations: 27.27 kB / 0.7915 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.009049, allocations: 146.8 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.009068, allocations: 7.906 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.00912, allocations: 35.36 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.009267, allocations: 0.4906 MB / 0.7921 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.009303, allocations: 11.98 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.00936, allocations: 46.98 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.009452, allocations: 63.05 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.009455, allocations: 0.5 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001518/0.009607, allocations: 90.23 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.009622, allocations: 8.531 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.009627, allocations: 0 / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.009641, allocations: 1.656 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.009731, allocations: 15.98 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.00974, allocations: 3.938 kB / 0.7924 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.009786, allocations: 11.94 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.0098, allocations: 8.531 kB / 0.7924 GB, free: 7.16 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.91e-05/0.009889, allocations: 157.9 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.00991, allocations: 15.89 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.009934, allocations: 9.594 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009936, allocations: 0 / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.009942, allocations: 3.984 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009946, allocations: 0 / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.01028, allocations: 358.6 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01028, allocations: 4 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.01031, allocations: 0 / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01031, allocations: 1.75 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01032, allocations: 4 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01032, allocations: 0 / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01032, allocations: 0 / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.01052, allocations: 247.7 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.01053, allocations: 4.859 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01055, allocations: 8 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.01062, allocations: 0.8438 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.01066, allocations: 7.984 kB / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.01067, allocations: 0 / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.01073, allocations: 140.5 kB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01073, allocations: 3.938 kB / 0.7933 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003055/0.01103, allocations: 39.92 kB / 0.7933 GB, free: 6.113 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.0003518/0.01139, allocations: 184.4 kB / 0.7935 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01154, allocations: 55.58 kB / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01154, allocations: 0.9062 kB / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.01159, allocations: 27.66 kB / 0.7936 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01186, allocations: 19.38 kB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.01254, allocations: 186.6 kB / 0.7938 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01259, allocations: 63.34 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.01263, allocations: 8.484 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.01266, allocations: 12.5 kB / 0.7939 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01266, allocations: 1.938 kB / 0.7939 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.004087/0.01675, allocations: 1.509 MB / 0.7953 GB, free: 4.043 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.117971784202382]