Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001614, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5083, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003474/0.5118, allocations: 1.535 MB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.5135, allocations: 0.7479 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.5136, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.5136, allocations: 3.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.5137, allocations: 7.922 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.5143, allocations: 107.8 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.5144, allocations: 67.78 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.5145, allocations: 15.98 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.5146, allocations: 31.84 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.5147, allocations: 31.91 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.5147, allocations: 4 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.515, allocations: 95.84 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.515, allocations: 19.91 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.5151, allocations: 27.86 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.5154, allocations: 133.9 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5154, allocations: 4 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5154, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5154, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 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.0006998/0.5161, allocations: 421 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5161, allocations: 8.031 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.5162, allocations: 34.75 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.5163, allocations: 12.83 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5164, allocations: 172.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.5164, allocations: 8.312 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.5165, allocations: 4.375 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.5167, allocations: 81.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5167, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.5168, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5168, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.517, allocations: 35.97 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.5177, allocations: 316.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5179, allocations: 54.48 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.5181, allocations: 32.97 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5181, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.5184, allocations: 71.38 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.5184, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005507/0.5189, allocations: 149.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.519, allocations: 55.41 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.5191, allocations: 125.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.5192, allocations: 33.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.5192, allocations: 84.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5193, allocations: 23.73 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.5193, allocations: 25.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5195, allocations: 322.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.5196, allocations: 23.98 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.5198, allocations: 54.55 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.52, allocations: 70.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.52, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.5204, allocations: 121.4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5204, allocations: 8.062 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5204, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5204, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5206, allocations: 15.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5206, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.5207, allocations: 15.83 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.5207, allocations: 12 kB / 1.022 GB, free: 13.49 MB / 0.7794 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.0001029/0.5208, allocations: 123 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.5209, allocations: 8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.5209, allocations: 8.375 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5209, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5209, allocations: 3.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5209, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.5215, allocations: 378.4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5215, allocations: 3.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.5216, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5216, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5216, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5217, allocations: 3.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5217, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.5221, allocations: 215.4 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5221, allocations: 77.11 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5222, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5223, allocations: 11.92 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.5224, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.5224, allocations: 7.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.5225, allocations: 95.27 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5225, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004532/0.5229, allocations: 39.94 kB / 1.023 GB, free: 12.41 MB / 0.7794 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.0009632/0.5239, allocations: 0.8132 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.5242, allocations: 71.89 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5242, allocations: 4.125 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.5244, allocations: 39.97 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5248, allocations: 3.938 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.5269, allocations: 1.492 MB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5271, allocations: 0.6869 MB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.5272, allocations: 7.984 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.5272, allocations: 20.44 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.5272, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9422/1.469, allocations: 2.436 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.47, allocations: 269.3 kB / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/3.522, allocations: 0 / 1.028 GB, free: 6.512 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time