Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.001484/0.001484, 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.001837/0.001837, allocations: 194.7 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.889/2.889, allocations: 469.4 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.55 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3007, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002788/0.3035, allocations: 1.486 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.305, allocations: 0.7378 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.3051, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.3052, allocations: 3.938 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.3052, allocations: 11.88 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.3059, allocations: 115.6 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.306, allocations: 75.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3061, allocations: 15.97 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3063, allocations: 35.86 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.3063, allocations: 47.81 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3064, allocations: 8 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3066, allocations: 83.92 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3066, allocations: 19.91 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.3067, allocations: 35.86 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3069, allocations: 147.8 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.307, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.307, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.307, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 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.0006014/0.3076, allocations: 416.9 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3076, allocations: 8.031 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.3077, allocations: 38.73 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3077, allocations: 8.844 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3078, allocations: 176.2 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3079, allocations: 8.375 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3079, allocations: 8.375 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3081, allocations: 65.78 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3081, allocations: 7.922 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3081, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3081, allocations: 3.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3082, allocations: 31.98 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.3088, allocations: 316.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.309, allocations: 46.56 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.309, allocations: 32.97 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3091, allocations: 8 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.3093, allocations: 79.31 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3093, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000388/0.3097, allocations: 141.6 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3097, allocations: 55.39 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.3098, allocations: 117.8 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3099, allocations: 25.7 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.3099, allocations: 104 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3099, allocations: 15.75 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.31, allocations: 33.64 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.3101, allocations: 318.8 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.3102, allocations: 27.97 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.3103, allocations: 51 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3104, allocations: 70.55 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3105, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.3107, allocations: 109.6 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3107, allocations: 11.94 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3107, allocations: 4.062 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3107, allocations: 3.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3108, allocations: 15.98 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3109, allocations: 4 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.3109, allocations: 7.906 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3109, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 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 8.517e-05/0.311, allocations: 125.4 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.3111, allocations: 3.906 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3111, allocations: 20.36 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3111, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3111, allocations: 7.875 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3111, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3115, allocations: 386.8 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3116, allocations: 0 / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.3116, allocations: 4 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3116, allocations: 4 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3116, allocations: 11.98 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.3116, allocations: 3.938 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3116, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3119, allocations: 211.4 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.3119, allocations: 81.02 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.312, allocations: 7.984 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.3121, allocations: 7.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3121, allocations: 11.98 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.3121, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.3122, allocations: 99.42 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3122, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002942/0.3125, allocations: 36 kB / 1.07 GB, free: 7.973 MB / 0.8262 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.0007087/0.3132, allocations: 0.7975 MB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3134, allocations: 75.88 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3135, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.3136, allocations: 36.11 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3138, allocations: 11.94 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3153, allocations: 1.491 MB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3155, allocations: 0.6922 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.3155, allocations: 0 / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3156, allocations: 23.42 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3156, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.3321, allocations: 2.62 MB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.476, allocations: 10.33 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.occ from file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! Error: Could not read variable hea.on in file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.on from file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_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