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.0009714/0.0009714, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001003/0.001003, allocations: 169 kB / 24.28 MB, free: 280 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.05/1.05, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.809/1.809, allocations: 359 MB / 0.6055 GB, free: 11.02 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 2.514e-06/2.514e-06, allocations: 1.094 kB / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.498e-05, allocations: 5.672 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002939/0.002974, allocations: 1.54 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004476, allocations: 0.786 MB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.004568, allocations: 4 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.00461, allocations: 7.922 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.00468, allocations: 9.75 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.00545, allocations: 147.4 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.005593, allocations: 79.7 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005708, allocations: 12.17 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.005897, allocations: 52.39 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.005964, allocations: 33.39 kB / 0.7897 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.005987, allocations: 4 kB / 0.7897 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.006256, allocations: 139.7 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.006283, allocations: 23.91 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.006327, allocations: 16.58 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.00661, allocations: 151.5 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006613, allocations: 0.5 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006614, allocations: 4.812 kB / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006619, allocations: 0 / 0.79 GB, free: 9.859 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.0006476/0.007267, allocations: 451 kB / 0.7904 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007305, allocations: 8.031 kB / 0.7904 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.007605, allocations: 38.25 kB / 0.7905 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.007811, allocations: 132.5 kB / 0.7906 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.007835, allocations: 6.125 kB / 0.7906 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.007854, allocations: 8.375 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.008034, allocations: 74.91 kB / 0.7907 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.008043, allocations: 192 / 0.7907 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.008057, allocations: 4.125 kB / 0.7907 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.008066, allocations: 1.094 kB / 0.7907 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.008116, allocations: 15.92 kB / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.008652, allocations: 301.6 kB / 0.791 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.008753, allocations: 39.05 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.008797, allocations: 19.81 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.008818, allocations: 6.531 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.008947, allocations: 72.97 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.008948, allocations: 0 / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002979/0.009246, allocations: 109.7 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.009294, allocations: 51.41 kB / 0.7913 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.009427, allocations: 184.9 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.009445, allocations: 29.7 kB / 0.7915 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.009515, allocations: 143.5 kB / 0.7916 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.009538, allocations: 15.91 kB / 0.7916 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.009596, allocations: 31.89 kB / 0.7916 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.009765, allocations: 497.8 kB / 0.7921 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.009808, allocations: 19.92 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.009869, allocations: 42.98 kB / 0.7922 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.009966, allocations: 55.89 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.009969, allocations: 0 / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001742/0.01014, allocations: 94.3 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01016, allocations: 5.281 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.01017, allocations: 3.984 kB / 0.7923 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01019, allocations: 4 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.01028, allocations: 8 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01029, allocations: 4.844 kB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.01034, allocations: 15.94 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01035, allocations: 1.156 kB / 0.7924 GB, free: 7.195 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 0.0001117/0.01046, allocations: 162 kB / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.01049, allocations: 15.89 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.01052, allocations: 16.36 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01052, allocations: 0 / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01052, allocations: 1.469 kB / 0.7926 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.01053, allocations: 4 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.01091, allocations: 349.3 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01091, allocations: 0 / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.01094, allocations: 6.875 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01094, allocations: 0 / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01095, allocations: 0 / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01095, allocations: 0 / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01095, allocations: 3.938 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01117, allocations: 251.8 kB / 0.7931 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01118, allocations: 11.95 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.0112, allocations: 0 / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.01127, allocations: 8.484 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.01132, allocations: 1.219 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01133, allocations: 7.984 kB / 0.7932 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.108e-05/0.01139, allocations: 131.2 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01139, allocations: 5.688 kB / 0.7933 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003247/0.01171, allocations: 39.92 kB / 0.7933 GB, free: 6.141 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.0004143/0.01213, allocations: 173.5 kB / 0.7935 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.0123, allocations: 56.67 kB / 0.7936 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01231, allocations: 0 / 0.7936 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.01236, allocations: 27.61 kB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01264, allocations: 20.59 kB / 0.7936 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.0134, allocations: 190.2 kB / 0.7938 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.01345, allocations: 55.36 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.01349, allocations: 11.97 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.01352, allocations: 14.59 kB / 0.7939 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01353, allocations: 0 / 0.7939 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.004216/0.01774, allocations: 1.515 MB / 0.7953 GB, free: 4.062 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: 5.248036979930475]