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.001709/0.001709, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.002277/0.002277, allocations: 217.8 kB / 23.01 MB, free: 4.602 MB / 14.72 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.713/2.713, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 70.14 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002732/0.3142, allocations: 1.522 MB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3157, allocations: 0.8158 MB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3158, allocations: 0 / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.3158, allocations: 11.92 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.3159, allocations: 11.86 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.3164, allocations: 143.5 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3166, allocations: 75.77 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.3167, allocations: 16.11 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3168, allocations: 39.84 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.3169, allocations: 47.83 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3169, allocations: 8 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.3172, allocations: 139.8 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.3172, allocations: 15.97 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.3173, allocations: 39.78 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.3175, allocations: 151.5 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3175, allocations: 3.938 kB / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3175, allocations: 0 / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3175, allocations: 0 / 1.288 GB, free: 8.238 MB / 0.9825 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.0006168/0.3181, allocations: 347.6 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3182, allocations: 12.02 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.3185, allocations: 28.88 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3187, allocations: 138.4 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3188, allocations: 8.375 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3188, allocations: 4.375 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.319, allocations: 73.72 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.319, allocations: 4 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.319, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.319, allocations: 4 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3191, allocations: 35.97 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.3197, allocations: 283.8 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3198, allocations: 50.5 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.3199, allocations: 24.97 kB / 1.289 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3199, allocations: 4 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.3201, allocations: 75.38 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3201, allocations: 0 / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004035/0.3205, allocations: 149.6 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3206, allocations: 59.41 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3207, allocations: 119.3 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3207, allocations: 25.7 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.3208, allocations: 100.1 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3208, allocations: 11.84 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.3208, allocations: 29.7 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.321, allocations: 330.8 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.3211, allocations: 27.98 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.3212, allocations: 42.56 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3213, allocations: 78.78 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3213, allocations: 4 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.3216, allocations: 113.5 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3216, allocations: 4 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3216, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3216, allocations: 4 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.3217, allocations: 15.98 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3217, allocations: 0 / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.3218, allocations: 4 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3218, allocations: 8.062 kB / 1.29 GB, free: 5.852 MB / 0.9825 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.0001092/0.3219, allocations: 125.7 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.3219, allocations: 11.95 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3219, allocations: 16.25 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.322, allocations: 4 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.322, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.322, allocations: 3.984 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.3225, allocations: 357.5 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3225, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.3225, allocations: 11.92 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3225, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3225, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3225, allocations: 7.938 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3225, allocations: 0 / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3228, allocations: 207.5 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.3228, allocations: 11.89 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3229, allocations: 0 / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.323, allocations: 7.938 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.323, allocations: 3.984 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.323, allocations: 4 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.3231, allocations: 102.9 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3231, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003101/0.3234, allocations: 39.92 kB / 1.291 GB, free: 4.879 MB / 0.9825 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.0003495/0.3237, allocations: 163.6 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.324, allocations: 63.97 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.324, allocations: 0 / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.3241, allocations: 40.03 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3243, allocations: 7.516 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.3248, allocations: 231 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3251, allocations: 0.6885 MB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.3251, allocations: 11.44 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3251, allocations: 0 / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.003668/0.3288, allocations: 1.65 MB / 1.293 GB, free: 1.984 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.35188366001239]