Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 112.1 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6805, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.0023/0.6828, allocations: 1.48 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.6839, allocations: 0.7343 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.6839, allocations: 1.125 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.684, allocations: 4.734 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.684, allocations: 10.41 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.6845, allocations: 118 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6847, allocations: 84.39 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/0.6847, allocations: 16.47 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.6848, allocations: 30.38 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.6849, allocations: 41.44 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.6849, allocations: 6.719 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.6851, allocations: 98.42 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.6852, allocations: 15.19 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.6852, allocations: 31.5 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.6854, allocations: 146.4 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6855, allocations: 0.625 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6855, allocations: 0 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6855, allocations: 0.9375 kB / 1.091 GB, free: 3.73 MB / 0.8575 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.0005041/0.686, allocations: 419.8 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.686, allocations: 10.64 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.6861, allocations: 7.812 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.891e-05/0.6862, allocations: 174 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.6862, allocations: 14.8 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.6862, allocations: 4.594 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.6864, allocations: 72.69 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6864, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6864, allocations: 1.938 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6864, allocations: 1.281 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.6865, allocations: 35.23 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.6871, allocations: 329.8 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6872, allocations: 46.47 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.6873, allocations: 31.56 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6873, allocations: 1.375 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.6875, allocations: 77.39 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.6875, allocations: 3.938 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003953/0.6879, allocations: 137.3 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.6879, allocations: 54.64 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.688, allocations: 122.2 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.688, allocations: 31.39 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.688, allocations: 92.53 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.6881, allocations: 19.31 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.6881, allocations: 29.45 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.6882, allocations: 320.2 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.6883, allocations: 30.95 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.6883, allocations: 46.36 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.6885, allocations: 76.38 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6885, allocations: 0 / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002273/0.6887, allocations: 113.3 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6888, allocations: 5.625 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6888, allocations: 0.9375 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6888, allocations: 1.562 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.6889, allocations: 19.8 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6889, allocations: 4.875 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.689, allocations: 13.31 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.689, allocations: 4.312 kB / 1.094 GB, free: 1.738 MB / 0.8575 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.227e-05/0.6891, allocations: 125 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.6891, allocations: 7.047 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.6891, allocations: 7.422 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6891, allocations: 1 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6891, allocations: 4.75 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.6892, allocations: 83.64 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.6892, allocations: 1.719 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.6893, allocations: 12.2 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.6893, allocations: 5.062 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002687/0.6896, allocations: 192.2 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002597/0.6898, allocations: 281.7 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.193e-05/0.6899, allocations: 35.33 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.69, allocations: 92.45 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Backend: time 4.91e-07/0.69, allocations: 0 / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.6906, allocations: 194.2 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003425/0.691, allocations: 0.6239 MB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of Templates: time 0.004281/0.6953, allocations: 1.505 MB / 1.097 GB, free: 164 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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