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.001866/0.001866, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002406/0.002406, allocations: 222.1 kB / 23 MB, free: 4.914 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.808/2.808, allocations: 476 MB / 0.7707 GB, free: 4.75 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.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: 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.002121/0.002121, allocations: 72.66 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 169.9 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002721/0.3278, allocations: 1.497 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3293, allocations: 0.7496 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.3294, allocations: 0 / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3294, allocations: 11.88 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.3294, allocations: 11.92 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.33, allocations: 143.5 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3302, allocations: 79.72 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.3303, allocations: 16.16 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3304, allocations: 35.92 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.3305, allocations: 39.81 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3305, allocations: 8 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.3308, allocations: 139.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3308, allocations: 15.98 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3308, allocations: 31.84 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3311, allocations: 147.5 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3311, allocations: 3.938 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3311, allocations: 0 / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.3311, allocations: 0 / 1.287 GB, free: 9.047 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.000619/0.3317, allocations: 359.4 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3318, allocations: 12.03 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.3321, allocations: 32.91 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3323, allocations: 140 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3323, allocations: 384 / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3324, allocations: 4.375 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3325, allocations: 77.77 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3326, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3326, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3326, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3327, allocations: 43.91 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.3332, allocations: 248.5 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3334, allocations: 46.56 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.3334, allocations: 28.97 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3335, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.3336, allocations: 79.31 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.847e-06/0.3336, allocations: 4 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.334, allocations: 145.6 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3341, allocations: 59.39 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3342, allocations: 120.8 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3342, allocations: 29.7 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3343, allocations: 96.08 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3343, allocations: 15.84 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.3344, allocations: 29.7 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3345, allocations: 326.8 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.3346, allocations: 27.98 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.3347, allocations: 46.5 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3348, allocations: 74.48 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002519/0.3351, allocations: 117.5 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3351, allocations: 10.03 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3351, allocations: 4.062 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3351, allocations: 0 / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.3352, allocations: 15.92 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3352, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.3353, allocations: 8 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3353, allocations: 0 / 1.289 GB, free: 6.691 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 9.789e-05/0.3354, allocations: 121.8 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.3354, allocations: 11.94 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3355, allocations: 8.375 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3355, allocations: 4 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3355, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3355, allocations: 3.938 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.3359, allocations: 322.1 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3359, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.336, allocations: 11.98 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.336, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.336, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.336, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.336, allocations: 4 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.3363, allocations: 223.3 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.3363, allocations: 11.89 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3363, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.3364, allocations: 4 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3365, allocations: 7.984 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.3365, allocations: 7.938 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.3365, allocations: 95.27 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003058/0.3368, allocations: 43.86 kB / 1.29 GB, free: 5.758 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.000373/0.3372, allocations: 171.9 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3374, allocations: 71.83 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3374, allocations: 0 / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.827e-05/0.3375, allocations: 36.09 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3378, allocations: 11.94 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3382, allocations: 219.1 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.819e-05/0.3383, allocations: 71.28 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.3383, allocations: 15.42 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3383, allocations: 0 / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of Templates: time 0.003717/0.3421, allocations: 1.67 MB / 1.292 GB, free: 3.465 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.548725569155067]