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.001104/0.001104, 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.001102/0.001102, allocations: 169 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.061/1.061, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.804/1.804, allocations: 359 MB / 0.6052 GB, free: 11.03 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.573e-06/1.573e-06, allocations: 0 / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.688e-05, allocations: 2.312 kB / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002005/0.002032, allocations: 1.54 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003109, allocations: 0.7926 MB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.003164, allocations: 0.6875 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.003198, allocations: 3.938 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.003252, allocations: 16.7 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.003807, allocations: 148.1 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003913, allocations: 75.72 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.004003, allocations: 12.7 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.004138, allocations: 59.25 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.004187, allocations: 27.95 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.004205, allocations: 8 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.004412, allocations: 143.7 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.004432, allocations: 11.92 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.004467, allocations: 23.97 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.004673, allocations: 147.6 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004675, allocations: 3.938 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004676, allocations: 0 / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004679, allocations: 0.7188 kB / 0.79 GB, free: 9.527 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.0006357/0.005315, allocations: 451.5 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.005351, allocations: 15.97 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.005545, allocations: 32.88 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.005705, allocations: 136.1 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.005729, allocations: 8.375 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.005743, allocations: 4.375 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.005883, allocations: 72.5 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.005895, allocations: 192 / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005907, allocations: 8.125 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005914, allocations: 0 / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.005951, allocations: 21.14 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.006325, allocations: 301.1 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.00639, allocations: 39.05 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.006421, allocations: 15.69 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.006445, allocations: 12.45 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.094e-05/0.006526, allocations: 69.11 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006527, allocations: 0.5312 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002242/0.006751, allocations: 102.5 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.006786, allocations: 59.41 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.006879, allocations: 178.7 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006892, allocations: 29.69 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.006944, allocations: 139.3 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.006961, allocations: 11.91 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.007002, allocations: 40.67 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.007116, allocations: 0.4923 MB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.007143, allocations: 8 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.007184, allocations: 48.23 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/0.007248, allocations: 55.11 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.00725, allocations: 0.6562 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001123/0.007362, allocations: 94.22 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.007375, allocations: 8 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007379, allocations: 1.156 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007392, allocations: 0 / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.007463, allocations: 19.92 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007468, allocations: 0.7812 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.007497, allocations: 7.953 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.007509, allocations: 4.938 kB / 0.7924 GB, free: 6.859 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.931e-05/0.007578, allocations: 161.8 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.007593, allocations: 15.88 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.00762, allocations: 12.44 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007622, allocations: 0.9688 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007625, allocations: 0 / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007628, allocations: 0 / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.007891, allocations: 359.5 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007893, allocations: 4 kB / 0.7929 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.007914, allocations: 0 / 0.7929 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007916, allocations: 0 / 0.7929 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007924, allocations: 7.984 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007926, allocations: 4 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007927, allocations: 3.219 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.008071, allocations: 247.7 kB / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.008078, allocations: 3.953 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008091, allocations: 4 kB / 0.7932 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.008132, allocations: 7.984 kB / 0.7932 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.008168, allocations: 7.984 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008173, allocations: 0 / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.008219, allocations: 140.9 kB / 0.7933 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008219, allocations: 1.125 kB / 0.7933 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002131/0.008432, allocations: 35.94 kB / 0.7933 GB, free: 5.805 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.0002936/0.008725, allocations: 172.1 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.008852, allocations: 59.58 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008853, allocations: 0.8438 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.008895, allocations: 31.59 kB / 0.7936 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.009093, allocations: 24.67 kB / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.009636, allocations: 187.4 kB / 0.7938 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.009672, allocations: 63.34 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.009697, allocations: 7.5 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.00974, allocations: 12.5 kB / 0.7939 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.009741, allocations: 0 / 0.7939 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.00331/0.01305, allocations: 1.505 MB / 0.7953 GB, free: 3.73 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.299541082698852]