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.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.00138/0.00138, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001591/0.001591, allocations: 203.4 kB / 22.18 MB, free: 5.68 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.534/1.534, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.916/2.916, 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.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: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9818/0.9838, allocations: 168.7 MB / 1.274 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002929/0.9867, allocations: 1.498 MB / 1.275 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.9882, allocations: 0.7493 MB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.9883, allocations: 4 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.9883, allocations: 3.938 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.9884, allocations: 11.86 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.989, allocations: 123.6 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.9892, allocations: 83.7 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.9893, allocations: 11.95 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.9894, allocations: 35.91 kB / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.9894, allocations: 39.83 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.9895, allocations: 12 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.9897, allocations: 99.83 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.9897, allocations: 19.91 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.9898, allocations: 27.86 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.9901, allocations: 150.2 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9901, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9901, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.9901, allocations: 0 / 1.277 GB, free: 1.492 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.0007702/0.9909, allocations: 420.8 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.991, allocations: 12.03 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.991, allocations: 8.891 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.9912, allocations: 176.3 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.9912, allocations: 4.375 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.9912, allocations: 8.375 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.9914, allocations: 69.95 kB / 1.277 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9914, allocations: 0 / 1.277 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9914, allocations: 4 kB / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9915, allocations: 0 / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.9916, allocations: 47.84 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.9923, allocations: 312.8 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.9924, allocations: 42.56 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.9925, allocations: 32.97 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.9926, allocations: 7.984 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.9928, allocations: 71.33 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.9928, allocations: 0 / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004794/0.9933, allocations: 145.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9933, allocations: 55.41 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.9935, allocations: 129.7 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.9935, allocations: 37.69 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.9936, allocations: 84.14 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.9936, allocations: 15.91 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.9937, allocations: 25.7 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.9938, allocations: 326.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.9939, allocations: 23.98 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.994, allocations: 58.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.9942, allocations: 66.55 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9942, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002685/0.9945, allocations: 109.5 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9945, allocations: 13.78 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9945, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9945, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.9946, allocations: 15.92 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9946, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.9947, allocations: 7.938 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.9947, allocations: 4 kB / 1.279 GB, free: 14.95 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.0001147/0.9948, allocations: 125.7 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.9949, allocations: 11.95 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.9949, allocations: 8.375 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9949, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9949, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.9949, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.9954, allocations: 390.8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9954, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.9955, allocations: 3.984 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9955, allocations: 8 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9955, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9955, allocations: 80 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/0.9955, allocations: 7.922 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.9958, allocations: 215.4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.9959, allocations: 81.06 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.9959, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.996, allocations: 8 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.996, allocations: 11.92 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.996, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.828e-05/0.9961, allocations: 99.27 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9961, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003938/0.9965, allocations: 35.92 kB / 1.28 GB, free: 13.86 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.0004222/0.9969, allocations: 177.7 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.9972, allocations: 67.91 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9972, allocations: 0 / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.9973, allocations: 35.91 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.9976, allocations: 8 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.9981, allocations: 196.9 kB / 1.28 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.9984, allocations: 0.6846 MB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.9985, allocations: 7.984 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.9985, allocations: 11.44 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.9985, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.005273/1.004, allocations: 1.481 MB / 1.283 GB, free: 11.16 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.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.355377244763076]