Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001692/0.001692, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00174/0.00174, allocations: 213.5 kB / 22.24 MB, free: 5.258 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.785 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.945/2.945, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] 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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [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.002203/0.002203, allocations: 67.2 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3782, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003055/0.3812, allocations: 1.496 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3828, allocations: 0.7574 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.3829, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.3829, allocations: 7.938 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.383, allocations: 7.875 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.3837, allocations: 147.5 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3838, allocations: 83.7 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3839, allocations: 8.172 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3841, allocations: 39.84 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.3842, allocations: 35.84 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3842, allocations: 12 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3845, allocations: 143.7 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3845, allocations: 15.97 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3846, allocations: 27.86 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3848, allocations: 151.5 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3848, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3849, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3849, allocations: 0 / 1.286 GB, free: 9.051 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.0006771/0.3855, allocations: 359.5 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3856, allocations: 8.031 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.3859, allocations: 28.92 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3861, allocations: 142.3 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3862, allocations: 4.375 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3862, allocations: 4.375 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3864, allocations: 69.78 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3864, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3864, allocations: 4 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3864, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3865, allocations: 39.97 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.3871, allocations: 256.4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3873, allocations: 46.5 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.3873, allocations: 24.97 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3874, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3875, allocations: 83.38 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3875, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004369/0.388, allocations: 145.5 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.388, allocations: 55.41 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3882, allocations: 124.2 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3882, allocations: 29.7 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.3882, allocations: 92.09 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3883, allocations: 23.89 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.3883, allocations: 29.7 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3885, allocations: 322.8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3886, allocations: 27.98 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.3887, allocations: 46.55 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3889, allocations: 78.42 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3889, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002631/0.3891, allocations: 117.5 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3892, allocations: 12 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3892, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3892, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.3893, allocations: 8 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3893, allocations: 7.984 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.3893, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3894, allocations: 7.938 kB / 1.288 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 0.0001075/0.3895, allocations: 121.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.3895, allocations: 11.95 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3895, allocations: 12.34 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3895, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3895, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3895, allocations: 4 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.39, allocations: 322.1 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.39, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.39, allocations: 8 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.39, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3901, allocations: 7.984 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3901, allocations: 4 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3901, allocations: 0 / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3904, allocations: 211.4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.3904, allocations: 11.89 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3904, allocations: 3.984 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.3905, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3906, allocations: 11.92 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3906, allocations: 3.938 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.3906, allocations: 100.8 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3906, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003081/0.3909, allocations: 43.88 kB / 1.289 GB, free: 5.762 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.0004061/0.3913, allocations: 169.5 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3916, allocations: 67.91 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3916, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3917, allocations: 40.09 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.392, allocations: 10.64 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3924, allocations: 189.4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.3925, allocations: 75.27 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.3925, allocations: 11.92 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3926, allocations: 15.44 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3926, allocations: 0 / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.004953/0.3975, allocations: 1.516 MB / 1.291 GB, free: 3.664 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 9.78903322480619]