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.001552/0.001553, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002243/0.002243, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.64 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2516, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00376/0.2554, allocations: 1.548 MB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2566, allocations: 0.7327 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.2567, allocations: 0 / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.2567, allocations: 3.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.2568, allocations: 7.922 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.2573, allocations: 111.8 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2575, allocations: 71.83 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.2575, allocations: 12 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.2576, allocations: 43.83 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.2577, allocations: 35.84 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2577, allocations: 4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.2579, allocations: 95.91 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.2579, allocations: 19.92 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.258, allocations: 35.84 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2582, allocations: 143.8 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2582, allocations: 8 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2582, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2582, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 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.0005555/0.2588, allocations: 413 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2588, allocations: 8.625 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2589, allocations: 30.75 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.2589, allocations: 8.844 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.259, allocations: 180.2 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.259, allocations: 8.312 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2591, allocations: 8.375 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2592, allocations: 69.78 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2593, allocations: 3.938 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2593, allocations: 3.938 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2593, allocations: 4 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2594, allocations: 35.97 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.26, allocations: 316.8 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2602, allocations: 46.56 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.2603, allocations: 36.89 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2603, allocations: 4 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2605, allocations: 79.38 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.2605, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003579/0.2609, allocations: 133.5 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2609, allocations: 51.48 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.261, allocations: 125.8 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.261, allocations: 33.64 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.2611, allocations: 100 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2611, allocations: 15.84 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.2611, allocations: 29.7 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2613, allocations: 318.8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.2613, allocations: 27.98 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/0.2614, allocations: 46.55 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2616, allocations: 78.81 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2616, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002272/0.2618, allocations: 117.5 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2619, allocations: 8 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2619, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2619, allocations: 4.062 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.262, allocations: 15.92 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.262, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.2621, allocations: 7.906 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2621, allocations: 7.984 kB / 1.057 GB, free: 3.191 MB / 0.8106 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.0001404/0.2622, allocations: 123.3 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2622, allocations: 7.844 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.2623, allocations: 12.38 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2623, allocations: 4 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2623, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2623, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.2627, allocations: 378.4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2627, allocations: 3.984 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.2628, allocations: 7.984 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2628, allocations: 3.938 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2628, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2628, allocations: 11.88 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2628, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2631, allocations: 211.4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.2631, allocations: 81.11 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.2631, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.2632, allocations: 7.938 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.2633, allocations: 11.98 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2633, allocations: 4 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.2633, allocations: 91.27 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2633, allocations: 4 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002651/0.2636, allocations: 43.89 kB / 1.058 GB, free: 2.102 MB / 0.8106 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.0007719/0.2644, allocations: 0.7949 MB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.2647, allocations: 76.2 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2647, allocations: 0 / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.2648, allocations: 36.08 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.265, allocations: 20.2 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2665, allocations: 1.496 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2668, allocations: 0.6936 MB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.2669, allocations: 4 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.2669, allocations: 23.42 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.267, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.874/3.141, allocations: 2.492 MB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/3.141, allocations: 265.4 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/5.582, allocations: 0 / 1.064 GB, free: 12.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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