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.001947/0.001947, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001939/0.001939, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.109/3.109, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.693e-06/1.693e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.343e-05, allocations: 2.906 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003041/0.003074, allocations: 1.518 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004715, allocations: 0.7856 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.004767, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.004798, allocations: 7.875 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.004858, allocations: 13.3 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.005507, allocations: 155.8 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.005645, allocations: 79.72 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.005735, allocations: 9.234 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.005896, allocations: 47.95 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.005972, allocations: 37.31 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.005994, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.006315, allocations: 139.7 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.006351, allocations: 19.92 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.006397, allocations: 20.94 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.006715, allocations: 171.5 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006718, allocations: 0 / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.00672, allocations: 0.75 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.006725, allocations: 0 / 0.7893 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.0007524/0.007478, allocations: 460 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007513, allocations: 8.031 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.007852, allocations: 32.88 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.008063, allocations: 132.5 kB / 0.7899 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.008094, allocations: 6.094 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.008111, allocations: 4.375 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.008304, allocations: 70.16 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.008312, allocations: 192 / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.008324, allocations: 4.719 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.008328, allocations: 0 / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.008451, allocations: 32.7 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.009065, allocations: 309.9 kB / 0.7903 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.009218, allocations: 58.98 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.009301, allocations: 31.8 kB / 0.7904 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.009325, allocations: 4.438 kB / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.009491, allocations: 81.7 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.009492, allocations: 0.7812 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.009924, allocations: 142.9 kB / 0.7906 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.009979, allocations: 55.41 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01016, allocations: 192.3 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01019, allocations: 31.08 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.0103, allocations: 138.9 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.01032, allocations: 19.84 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.01039, allocations: 35.36 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002887/0.01068, allocations: 0.4941 MB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.01076, allocations: 23.98 kB / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01087, allocations: 62.97 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01106, allocations: 84.19 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01106, allocations: 0 / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002975/0.01136, allocations: 123.4 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01138, allocations: 4 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01139, allocations: 4 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.0114, allocations: 2.438 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01153, allocations: 8 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.01154, allocations: 7.984 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.0116, allocations: 7.953 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.01162, allocations: 4 kB / 0.7918 GB, free: 7.012 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.0003384/0.01195, allocations: 169 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.01198, allocations: 13.83 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.01201, allocations: 12.42 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01201, allocations: 8 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01202, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01202, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.01255, allocations: 387.9 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01255, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.01259, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.01259, allocations: 4 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.0126, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0126, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0126, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01297, allocations: 268.3 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.01299, allocations: 8.859 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01301, allocations: 4 kB / 0.7927 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.01309, allocations: 8.719 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.01315, allocations: 11.91 kB / 0.7927 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01316, allocations: 5.188 kB / 0.7927 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001096/0.01327, allocations: 145.4 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01327, allocations: 0 / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003093/0.01358, allocations: 44.7 kB / 0.7929 GB, free: 5.887 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.0004966/0.01407, allocations: 165 kB / 0.793 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.01433, allocations: 79.81 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.01433, allocations: 5.125 kB / 0.7931 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01444, allocations: 43.64 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.0147, allocations: 13.28 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.01525, allocations: 198.6 kB / 0.7933 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.01533, allocations: 69.22 kB / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.01537, allocations: 7.984 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.0154, allocations: 13.69 kB / 0.7934 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.0154, allocations: 0 / 0.7934 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.005426/0.02083, allocations: 1.509 MB / 0.7949 GB, free: 3.777 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.38596595893614]