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.001586/0.001586, allocations: 110.5 kB / 18.88 MB, free: 3.055 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.00147/0.00147, allocations: 191.5 kB / 22.17 MB, free: 5.652 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.512/1.512, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.86/2.86, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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.002023/0.002023, allocations: 59.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9231/0.9251, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003172/0.9283, allocations: 1.499 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.9298, allocations: 0.7456 MB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.9299, allocations: 4 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.9299, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.93, allocations: 11.86 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.9305, allocations: 127.6 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.9307, allocations: 75.7 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.9308, allocations: 11.95 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.9309, allocations: 43.89 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.931, allocations: 39.84 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.931, allocations: 8 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.9312, allocations: 99.83 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.9312, allocations: 19.91 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.9313, allocations: 35.8 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.9316, allocations: 146.2 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9316, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9316, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9316, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 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.0007341/0.9323, allocations: 420.8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9323, allocations: 8.031 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.9324, allocations: 8.891 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9325, allocations: 184.1 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.9326, allocations: 4.375 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.9326, allocations: 8.375 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.9328, allocations: 69.95 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.9328, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.9328, allocations: 4 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.9328, allocations: 4 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.933, allocations: 35.97 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.9336, allocations: 312.7 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.9338, allocations: 42.56 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.9339, allocations: 36.95 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.9339, allocations: 7.984 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.9341, allocations: 67.39 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.9341, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004284/0.9345, allocations: 149.6 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.9346, allocations: 55.41 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.9347, allocations: 133.8 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.9347, allocations: 33.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.9348, allocations: 88.12 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.9348, allocations: 15.91 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.9349, allocations: 29.7 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.935, allocations: 318.8 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.9351, allocations: 31.98 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.9352, allocations: 46.56 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.9354, allocations: 70.48 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9354, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002506/0.9356, allocations: 121.8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9356, allocations: 8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9356, allocations: 80 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9357, allocations: 4 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.9358, allocations: 11.98 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.9358, allocations: 11.92 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.9358, allocations: 7.938 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.9359, allocations: 4 kB / 1.279 GB, free: 15.16 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.0001305/0.936, allocations: 133.8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.936, allocations: 3.953 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.936, allocations: 8.375 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.936, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9361, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9361, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.9366, allocations: 386.3 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.9366, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.9366, allocations: 11.98 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.9366, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.9366, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9366, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9366, allocations: 3.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.937, allocations: 211.5 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.937, allocations: 81.06 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.937, allocations: 7.938 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.9371, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.9372, allocations: 15.92 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.9372, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.9373, allocations: 95.27 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9373, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003238/0.9376, allocations: 39.92 kB / 1.28 GB, free: 14.06 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.0004634/0.938, allocations: 170.5 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.9383, allocations: 67.91 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9383, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.797e-05/0.9384, allocations: 31.97 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.9387, allocations: 4.125 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.9391, allocations: 206.8 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.9395, allocations: 0.6885 MB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.9395, allocations: 11.92 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.9395, allocations: 11.44 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9395, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.004751/0.9443, allocations: 1.469 MB / 1.283 GB, free: 11.37 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 -s cvode -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_2/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.405230791307986]