Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001338/0.001338, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6117, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002495/0.6142, allocations: 1.538 MB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.6154, allocations: 0.7479 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.6154, allocations: 3.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.6155, allocations: 3.984 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.6155, allocations: 11.88 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.616, allocations: 99.77 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.6161, allocations: 71.78 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.6162, allocations: 15.98 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.6163, allocations: 31.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.6164, allocations: 39.83 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.6164, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.6166, allocations: 87.86 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.6166, allocations: 23.89 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.6166, allocations: 27.86 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.6169, allocations: 133.9 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6169, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6169, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.6169, allocations: 4 kB / 1.019 GB, free: 15.98 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.0005828/0.6175, allocations: 413 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.6175, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.6176, allocations: 38.73 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.6176, allocations: 12.78 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.6177, allocations: 168.3 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6178, allocations: 4.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.6178, allocations: 12.36 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.618, allocations: 73.77 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.618, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.618, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.618, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6181, allocations: 35.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.6187, allocations: 324.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6188, allocations: 42.56 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.6189, allocations: 36.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.619, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.6191, allocations: 87.31 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6192, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00037/0.6195, allocations: 137.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.6196, allocations: 55.41 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.6197, allocations: 121.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6197, allocations: 25.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.6198, allocations: 92.14 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.6198, allocations: 19.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.6198, allocations: 29.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.6199, allocations: 322.7 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.62, allocations: 23.98 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.6201, allocations: 46.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.6203, allocations: 86.55 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6203, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002288/0.6205, allocations: 109.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6206, allocations: 7.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6206, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6206, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.6207, allocations: 16 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6207, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.6208, allocations: 19.83 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.6208, allocations: 4 kB / 1.022 GB, free: 13.38 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 8.91e-05/0.6209, allocations: 118.3 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.6209, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.621, allocations: 16.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.621, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.621, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.621, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.6214, allocations: 378.3 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6214, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.6215, allocations: 8 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.6215, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6215, allocations: 7.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.6215, allocations: 3.938 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6215, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.6218, allocations: 207.3 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.6218, allocations: 81.11 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.6219, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.622, allocations: 15.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.622, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.622, allocations: 7.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.6221, allocations: 99.42 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6221, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000285/0.6224, allocations: 39.94 kB / 1.023 GB, free: 12.3 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.0007111/0.6231, allocations: 0.806 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.6233, allocations: 71.95 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6233, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.6234, allocations: 39.91 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6237, allocations: 16.44 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.6252, allocations: 1.497 MB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.6254, allocations: 0.6848 MB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.6255, allocations: 7.984 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.6255, allocations: 15.44 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6255, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5564/1.182, allocations: 2.429 MB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/1.182, allocations: 274.8 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.84, allocations: 0 / 1.028 GB, free: 6.391 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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