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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.88 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.674, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002769/0.6768, allocations: 1.466 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.6781, allocations: 0.7323 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.6781, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.6782, allocations: 11.86 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.6783, allocations: 7.875 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.6788, allocations: 131.5 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.679, allocations: 75.77 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.6791, allocations: 16.03 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.6792, allocations: 31.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.6792, allocations: 39.83 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.6793, allocations: 8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.6795, allocations: 95.84 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.6795, allocations: 19.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.6796, allocations: 27.86 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.6798, allocations: 137.9 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6798, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6798, allocations: 8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.6798, allocations: 3.984 kB / 1.02 GB, free: 15.62 MB / 0.7794 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.0006424/0.6805, allocations: 416.8 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6805, allocations: 12.03 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.6806, allocations: 34.69 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.6806, allocations: 12.83 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6807, allocations: 172.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6808, allocations: 8.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.6808, allocations: 8.375 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.681, allocations: 69.78 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.681, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.681, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.681, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6812, allocations: 39.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.6818, allocations: 320.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6819, allocations: 50.55 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.682, allocations: 36.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.682, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.6822, allocations: 83.38 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6822, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003973/0.6826, allocations: 137.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.6827, allocations: 51.41 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6828, allocations: 121.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6828, allocations: 29.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.6829, allocations: 88.14 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.6829, allocations: 23.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.683, allocations: 21.72 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6831, allocations: 322.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.6832, allocations: 27.98 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.6833, allocations: 58.42 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.6835, allocations: 78.84 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6835, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.6837, allocations: 113.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6837, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6837, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6837, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.6838, allocations: 19.98 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6839, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.6839, allocations: 15.83 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.684, allocations: 4 kB / 1.022 GB, free: 13.02 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 9.318e-05/0.6841, allocations: 121.8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.6841, allocations: 7.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.6841, allocations: 8.375 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6841, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6841, allocations: 7.984 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6841, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.6846, allocations: 386.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6846, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.6846, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6846, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6847, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6847, allocations: 3.938 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6847, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.6849, allocations: 207.4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.685, allocations: 85.02 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.685, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.6851, allocations: 11.92 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.6851, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.6852, allocations: 7.984 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.6852, allocations: 91.28 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6852, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003009/0.6855, allocations: 47.92 kB / 1.023 GB, free: 11.93 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.0007589/0.6863, allocations: 0.8149 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.6866, allocations: 71.89 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6866, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6867, allocations: 35.97 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.6869, allocations: 17.12 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.6885, allocations: 1.49 MB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.6888, allocations: 0.6846 MB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.6888, allocations: 7.984 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.6889, allocations: 15.38 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6889, allocations: 0 / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.225/3.914, allocations: 2.623 MB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.852/12.77, allocations: 6.766 kB / 1.029 GB, free: 6.176 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