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.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.001947/0.001947, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00205/0.00205, allocations: 193.1 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.488/1.488, 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.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.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: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 59.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9484/0.9506, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003687/0.9543, allocations: 1.492 MB / 1.275 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.9559, allocations: 0.7416 MB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.9559, allocations: 4 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.956, allocations: 3.938 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.956, allocations: 15.84 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.9567, allocations: 127.6 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.9568, allocations: 71.78 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.9569, allocations: 15.94 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.957, allocations: 39.84 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.9571, allocations: 35.84 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.9571, allocations: 8 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.9574, allocations: 107.9 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.9574, allocations: 15.98 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.9574, allocations: 35.8 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.9577, allocations: 146.2 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9577, allocations: 3.938 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.807e-06/0.9577, allocations: 4 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9577, allocations: 0 / 1.277 GB, free: 1.547 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.0007733/0.9585, allocations: 408.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9586, allocations: 12.03 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.9586, allocations: 16.88 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.9588, allocations: 176.3 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.9588, allocations: 4.375 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.9588, allocations: 4.375 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.959, allocations: 73.91 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9591, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.9591, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.9591, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.9592, allocations: 43.97 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.9599, allocations: 308.8 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.9601, allocations: 54.42 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.9601, allocations: 28.97 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.9602, allocations: 4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.9604, allocations: 83.42 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.9604, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004276/0.9608, allocations: 133.6 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.9609, allocations: 59.34 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.961, allocations: 133.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.9611, allocations: 33.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.9611, allocations: 88.14 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.9612, allocations: 15.89 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.9612, allocations: 25.72 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9614, allocations: 322.8 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.9615, allocations: 27.98 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.9616, allocations: 54.92 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.9618, allocations: 70.5 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9618, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000253/0.962, allocations: 117.5 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.962, allocations: 8.062 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.962, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9621, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.9622, allocations: 11.98 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.9622, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.9622, allocations: 11.98 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.9622, allocations: 8 kB / 1.279 GB, free: 15 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.0001175/0.9624, allocations: 129.6 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.9624, allocations: 11.95 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.9624, allocations: 12.31 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9624, allocations: 4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9624, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.9624, allocations: 3.984 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.9629, allocations: 378.4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9629, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.963, allocations: 11.92 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.963, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.963, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.963, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.963, allocations: 3.938 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.9633, allocations: 207.5 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.9634, allocations: 85.06 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.9634, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.9635, allocations: 3.984 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.9635, allocations: 15.94 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.9636, allocations: 7.984 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.9636, allocations: 87.28 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9636, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003281/0.964, allocations: 39.92 kB / 1.28 GB, free: 13.91 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.0004096/0.9644, allocations: 172.7 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.9646, allocations: 67.95 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9646, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.9647, allocations: 35.92 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.965, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.9655, allocations: 204.9 kB / 1.28 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.9659, allocations: 0.6885 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.9659, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.9659, allocations: 11.44 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.9659, allocations: 0 / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.005174/0.9711, allocations: 1.48 MB / 1.283 GB, free: 11.21 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 -s cvode -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_2/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] "" 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.29129481408745]