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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_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.007853/0.007853, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.002152/0.002152, allocations: 197 kB / 16.67 MB, free: 5.973 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.896/2.896, allocations: 469.8 MB / 0.7425 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 72.03 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002667/0.3067, allocations: 1.49 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.308, allocations: 0.7245 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3081, allocations: 11.88 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.3081, allocations: 3.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.3082, allocations: 15.86 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.3087, allocations: 115.6 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3089, allocations: 83.75 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.309, allocations: 19.94 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.3091, allocations: 31.92 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.3092, allocations: 39.83 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3092, allocations: 8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3094, allocations: 95.84 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3094, allocations: 19.92 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.3095, allocations: 31.84 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3097, allocations: 139.5 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3097, allocations: 3.984 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3098, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3098, allocations: 0 / 1.223 GB, free: 11.45 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.0006686/0.3104, allocations: 428.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3105, allocations: 8.031 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.3105, allocations: 38.73 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3106, allocations: 4.891 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3107, allocations: 172.3 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3107, allocations: 12.31 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3108, allocations: 4.375 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.311, allocations: 69.78 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.311, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.311, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.311, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3111, allocations: 39.91 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3118, allocations: 316.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3119, allocations: 54.56 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.312, allocations: 32.97 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.312, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3122, allocations: 75.31 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3122, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004498/0.3127, allocations: 145.6 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3127, allocations: 55.41 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3129, allocations: 121.8 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3129, allocations: 33.7 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.313, allocations: 84.14 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.313, allocations: 23.95 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.313, allocations: 21.72 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3132, allocations: 334.7 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.3133, allocations: 23.98 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3134, allocations: 54.48 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3136, allocations: 66.55 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3136, allocations: 8 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/0.3138, allocations: 109.5 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3139, allocations: 8 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3139, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3139, allocations: 3.984 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.314, allocations: 11.94 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.314, allocations: 4 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.3141, allocations: 11.92 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3141, allocations: 8.062 kB / 1.225 GB, free: 8.848 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.83e-05/0.3142, allocations: 118.3 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.3142, allocations: 7.953 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3142, allocations: 12.36 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3142, allocations: 3.984 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3143, allocations: 4 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3143, allocations: 0 / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.3148, allocations: 394.4 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3148, allocations: 0 / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.3149, allocations: 4 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3149, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3149, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3149, allocations: 3.938 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3149, allocations: 3.984 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3152, allocations: 211.5 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3153, allocations: 81.06 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3153, allocations: 4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.3154, allocations: 7.922 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3154, allocations: 4 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3154, allocations: 3.984 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.3155, allocations: 95.28 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3155, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.3158, allocations: 43.8 kB / 1.226 GB, free: 7.758 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.0008816/0.3167, allocations: 0.8171 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.317, allocations: 63.97 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.317, allocations: 4 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3171, allocations: 39.91 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3174, allocations: 7.938 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3191, allocations: 1.501 MB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3194, allocations: 0.6885 MB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.324e-05/0.3194, allocations: 4 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.3195, allocations: 23.42 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3195, allocations: 4 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.343, allocations: 2.663 MB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.148, allocations: 7.797 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable hea.occ in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! " Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:time,hea.TOut,hea.p,TOut.amplitude,TOut.f,TOut.offset