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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001242/0.001242, 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.001251/0.001251, allocations: 192.4 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.12 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2254, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002463/0.2279, allocations: 1.537 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2291, allocations: 0.7401 MB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.2292, allocations: 4 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.2292, allocations: 3.938 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2293, allocations: 7.922 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.2298, allocations: 99.77 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2299, allocations: 79.77 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.23, allocations: 8 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.2301, allocations: 35.84 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.2302, allocations: 35.89 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2302, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.2304, allocations: 87.84 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2304, allocations: 19.92 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.2305, allocations: 27.84 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.2307, allocations: 147.9 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2307, allocations: 0 / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2307, allocations: 0 / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2307, allocations: 0 / 1.055 GB, free: 5.391 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.0005406/0.2313, allocations: 409 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2313, allocations: 15.95 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.2313, allocations: 34.75 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.2314, allocations: 8.844 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/0.2315, allocations: 184.1 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2315, allocations: 8.359 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2315, allocations: 12.36 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2317, allocations: 65.78 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.2317, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2317, allocations: 4 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2317, allocations: 3.938 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2319, allocations: 35.97 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.2324, allocations: 320.7 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2325, allocations: 46.56 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.2326, allocations: 28.97 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.2326, allocations: 4 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2328, allocations: 83.38 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2328, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003739/0.2332, allocations: 137.5 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2333, allocations: 63.45 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.2334, allocations: 117.8 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2334, allocations: 33.7 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.2334, allocations: 96.03 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2335, allocations: 11.84 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.2335, allocations: 29.7 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.2336, allocations: 318.8 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.2337, allocations: 27.97 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.2338, allocations: 54.56 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.234, allocations: 74.42 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.234, allocations: 0 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002206/0.2342, allocations: 109.5 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2342, allocations: 8 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2342, allocations: 4.062 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2342, allocations: 0 / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.2343, allocations: 11.98 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2344, allocations: 4.391 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2344, allocations: 15.84 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2344, allocations: 0 / 1.057 GB, free: 2.801 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 8.494e-05/0.2345, allocations: 121.8 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.2346, allocations: 7.891 kB / 1.057 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.2346, allocations: 16.38 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2346, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2346, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2346, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.235, allocations: 390.3 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.235, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.2351, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2351, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2351, allocations: 7.984 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2351, allocations: 3.938 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2351, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.2354, allocations: 207.4 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.2354, allocations: 85.03 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2355, allocations: 4 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.2355, allocations: 7.938 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2356, allocations: 15.92 kB / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2356, allocations: 0 / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.2357, allocations: 95.92 kB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2357, allocations: 0 / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002826/0.236, allocations: 39.91 kB / 1.058 GB, free: 1.711 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.0006568/0.2366, allocations: 0.804 MB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2368, allocations: 71.89 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2368, allocations: 0 / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.2369, allocations: 36.05 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2372, allocations: 16.69 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2386, allocations: 1.498 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2389, allocations: 0.6887 MB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.2389, allocations: 4 kB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.2389, allocations: 23.42 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2389, allocations: 0 / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.2501, allocations: 2.433 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.2503, allocations: 267.4 kB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.836, allocations: 11.77 kB / 1.064 GB, free: 11.8 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