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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_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.001846/0.001846, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.001981/0.001981, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.434/1.434, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 65.39 kB / 1.097 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3088, allocations: 168.7 MB / 1.262 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002574/0.3114, allocations: 1.477 MB / 1.263 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3127, allocations: 0.7334 MB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.3127, allocations: 0 / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3127, allocations: 7.922 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.3128, allocations: 15.86 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.3133, allocations: 119.6 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3134, allocations: 79.72 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.3135, allocations: 15.94 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.3136, allocations: 35.91 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.3137, allocations: 39.83 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3137, allocations: 8 kB / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.3139, allocations: 107.8 kB / 1.265 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.3139, allocations: 19.97 kB / 1.265 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.314, allocations: 27.86 kB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3142, allocations: 139.5 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3142, allocations: 0 / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3142, allocations: 4 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3142, allocations: 4 kB / 1.265 GB, free: 10.26 MB / 0.9825 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.0006508/0.3149, allocations: 420.7 kB / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3149, allocations: 16.56 kB / 1.265 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3149, allocations: 8.891 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3151, allocations: 168.3 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3151, allocations: 8.359 kB / 1.265 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3151, allocations: 4.375 kB / 1.265 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3153, allocations: 73.97 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3153, allocations: 4 kB / 1.265 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3153, allocations: 3.984 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3153, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3155, allocations: 39.95 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3161, allocations: 316.7 kB / 1.266 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3162, allocations: 50.56 kB / 1.266 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.3163, allocations: 28.97 kB / 1.266 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3163, allocations: 0 / 1.266 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3165, allocations: 79.31 kB / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3165, allocations: 0 / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004009/0.3169, allocations: 141.7 kB / 1.266 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3169, allocations: 55.41 kB / 1.266 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.317, allocations: 129.7 kB / 1.266 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3171, allocations: 29.7 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.3171, allocations: 88.14 kB / 1.266 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3171, allocations: 23.83 kB / 1.266 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3172, allocations: 25.7 kB / 1.266 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3173, allocations: 326.8 kB / 1.267 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.3174, allocations: 23.98 kB / 1.267 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.3175, allocations: 50.55 kB / 1.267 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3177, allocations: 74.48 kB / 1.267 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3177, allocations: 4 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.3179, allocations: 113.5 kB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3179, allocations: 10.02 kB / 1.267 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3179, allocations: 0 / 1.267 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.318, allocations: 4 kB / 1.267 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.318, allocations: 11.94 kB / 1.267 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3181, allocations: 3.938 kB / 1.267 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.3181, allocations: 7.984 kB / 1.267 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3181, allocations: 8.062 kB / 1.267 GB, free: 7.711 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 9.55e-05/0.3182, allocations: 118.6 kB / 1.267 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3183, allocations: 7.953 kB / 1.267 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.3183, allocations: 12.36 kB / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3183, allocations: 0 / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3183, allocations: 0 / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.3183, allocations: 85.06 kB / 1.267 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3184, allocations: 0 / 1.267 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.3184, allocations: 15.94 kB / 1.267 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3185, allocations: 7.984 kB / 1.267 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003044/0.3188, allocations: 192.8 kB / 1.267 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000319/0.3191, allocations: 282.7 kB / 1.268 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.231e-05/0.3192, allocations: 32.53 kB / 1.268 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.3192, allocations: 91.27 kB / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of Backend: time 6.61e-07/0.3192, allocations: 0 / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006738/0.3199, allocations: 193.8 kB / 1.268 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005197/0.3204, allocations: 0.6144 MB / 1.269 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.004498/0.3249, allocations: 1.515 MB / 1.27 GB, free: 4.48 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_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