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.002467/0.002467, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002818/0.002818, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 2.932/2.932, 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.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.543e-06/1.543e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.685e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.0031/0.003137, allocations: 1.519 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.005164, allocations: 0.7734 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.005222, allocations: 5 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.005265, allocations: 7.922 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.005333, allocations: 14.2 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.005997, allocations: 151.3 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.006143, allocations: 71.78 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.006245, allocations: 16.16 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.006404, allocations: 43.91 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.006483, allocations: 41.75 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.006509, allocations: 11.94 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.006815, allocations: 131.7 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.006849, allocations: 19.97 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.006902, allocations: 19.92 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.007249, allocations: 175.9 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.007253, allocations: 1.5 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/0.007254, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.007259, allocations: 0 / 0.7893 GB, free: 9.867 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.000782/0.008041, allocations: 447.3 kB / 0.7897 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.008091, allocations: 16.02 kB / 0.7897 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.00845, allocations: 28.88 kB / 0.7897 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.008683, allocations: 133.5 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.008711, allocations: 8.359 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.00873, allocations: 8.375 kB / 0.7899 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.008924, allocations: 64.16 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.008933, allocations: 192 / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.008949, allocations: 8.062 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.008956, allocations: 4 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.009089, allocations: 38.58 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.009757, allocations: 307.6 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.009917, allocations: 55.05 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.01, allocations: 27.8 kB / 0.7904 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.01003, allocations: 8.656 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.01022, allocations: 81.55 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.01022, allocations: 5.594 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004686/0.01069, allocations: 137.8 kB / 0.7906 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.01075, allocations: 59.41 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01093, allocations: 191.4 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.01096, allocations: 26.3 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01107, allocations: 143.4 kB / 0.791 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.01111, allocations: 23.83 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.01118, allocations: 36.23 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003/0.01148, allocations: 0.4884 MB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/0.01157, allocations: 29.14 kB / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01169, allocations: 62.97 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01187, allocations: 80.48 kB / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01187, allocations: 0 / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002805/0.01215, allocations: 111.2 kB / 0.7918 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.01217, allocations: 8 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.01218, allocations: 3.984 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01219, allocations: 1.281 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01231, allocations: 19.94 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01231, allocations: 0 / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.01238, allocations: 12.78 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.0124, allocations: 7.938 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.0001467/0.01254, allocations: 161.7 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.01257, allocations: 15.89 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.0126, allocations: 13.8 kB / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.0126, allocations: 0 / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.01261, allocations: 0 / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01261, allocations: 1.469 kB / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.01318, allocations: 389.2 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01318, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.01322, allocations: 7.984 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01322, allocations: 2.875 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01323, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01323, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01324, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.01361, allocations: 267.7 kB / 0.7927 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01363, allocations: 11.94 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01365, allocations: 0 / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.01374, allocations: 12.5 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.01379, allocations: 9.328 kB / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.0138, allocations: 0 / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001181/0.01392, allocations: 140.7 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01392, allocations: 0 / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003174/0.01424, allocations: 37.03 kB / 0.7929 GB, free: 5.906 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.0005248/0.01476, allocations: 177.9 kB / 0.793 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.01504, allocations: 87.73 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01504, allocations: 0 / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01515, allocations: 43.61 kB / 0.7931 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01542, allocations: 15.92 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.0004979/0.01592, allocations: 196.8 kB / 0.7934 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.6e-05/0.016, allocations: 69.22 kB / 0.7934 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.01604, allocations: 8.953 kB / 0.7934 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.01608, allocations: 12.5 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01608, allocations: 1.125 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.005414/0.0215, allocations: 1.513 MB / 0.7949 GB, free: 3.773 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.075105221010745]