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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001931/0.001931, allocations: 63.91 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 168.7 MB / 1.272 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002927/1.064, allocations: 1.505 MB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00133/1.065, allocations: 0.7456 MB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/1.066, allocations: 0.625 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/1.066, allocations: 4.781 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/1.066, allocations: 14.83 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/1.066, allocations: 121 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/1.066, allocations: 80.39 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/1.066, allocations: 3.844 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/1.067, allocations: 42.58 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/1.067, allocations: 42.78 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/1.067, allocations: 6.75 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/1.067, allocations: 94.86 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/1.067, allocations: 19.34 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/1.067, allocations: 37.16 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/1.067, allocations: 148.1 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.067, allocations: 0 / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.067, allocations: 0 / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.067, allocations: 1.031 kB / 1.275 GB, free: 6.07 MB / 0.9981 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.0006252/1.068, allocations: 425.7 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.068, allocations: 9.5 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/1.068, allocations: 8.797 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/1.068, allocations: 169.4 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/1.068, allocations: 9.75 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/1.068, allocations: 3.844 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/1.068, allocations: 79.62 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.068, allocations: 0 / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.068, allocations: 0.9375 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.068, allocations: 1.531 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/1.068, allocations: 35.3 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/1.069, allocations: 319.3 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/1.069, allocations: 52.12 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/1.069, allocations: 29.27 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/1.069, allocations: 5.547 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.069, allocations: 84.73 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.069, allocations: 0.875 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/1.07, allocations: 137.7 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/1.07, allocations: 57.09 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/1.07, allocations: 123.4 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/1.07, allocations: 27.95 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/1.07, allocations: 91.8 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/1.07, allocations: 15.12 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/1.07, allocations: 30.83 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.07, allocations: 322.1 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/1.07, allocations: 28.36 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/1.07, allocations: 45.2 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.07, allocations: 76.81 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.07, allocations: 0.9375 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/1.071, allocations: 112.4 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.071, allocations: 5.344 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.071, allocations: 1.812 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.071, allocations: 0.9375 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/1.071, allocations: 19.62 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/1.071, allocations: 1.188 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/1.071, allocations: 9.125 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/1.071, allocations: 5.734 kB / 1.277 GB, free: 4.082 MB / 0.9981 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 6.968e-05/1.071, allocations: 127.1 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.071, allocations: 6.391 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/1.071, allocations: 11.28 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.071, allocations: 1.062 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.071, allocations: 4 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.071, allocations: 6.453 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/1.071, allocations: 383.1 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.071, allocations: 0 / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/1.071, allocations: 10.66 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.071, allocations: 0 / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.071, allocations: 0.8438 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.071, allocations: 1.25 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.071, allocations: 7.938 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/1.072, allocations: 207.4 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/1.072, allocations: 83.2 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.072, allocations: 2 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/1.072, allocations: 4.906 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/1.072, allocations: 8.406 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.072, allocations: 3.234 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.145e-05/1.072, allocations: 96.81 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003325/1.072, allocations: 38.7 kB / 1.278 GB, free: 3.227 MB / 0.9981 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.0004022/1.073, allocations: 177.5 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002604/1.073, allocations: 68.12 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.073, allocations: 0.75 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.073, allocations: 36.31 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/1.073, allocations: 9.438 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/1.074, allocations: 201.5 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/1.074, allocations: 0.6901 MB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.701e-05/1.074, allocations: 5.297 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/1.074, allocations: 12.36 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.074, allocations: 0 / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of Templates: time 0.005068/1.079, allocations: 1.473 MB / 1.281 GB, free: 2.051 MB / 0.9981 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/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] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,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.469538111239672]