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.005677/0.005677, allocations: 102 kB / 15.73 MB, free: 6.039 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.001417/0.001417, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 72.23 kB / 1.054 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.927, allocations: 157.4 MB / 1.207 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.004426/0.9314, allocations: 1.493 MB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.9335, allocations: 0.7284 MB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.9336, allocations: 0 / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.9337, allocations: 7.875 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.9338, allocations: 3.938 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.9346, allocations: 131.5 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.9348, allocations: 75.77 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.935, allocations: 15.94 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.9351, allocations: 43.91 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.9352, allocations: 43.77 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.9352, allocations: 4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.9356, allocations: 87.92 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.9356, allocations: 15.97 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.9357, allocations: 31.8 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.9361, allocations: 145.9 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9361, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9361, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.9361, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 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.0009666/0.9371, allocations: 428.9 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9372, allocations: 12.03 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.9372, allocations: 30.75 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.9373, allocations: 8.844 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.9375, allocations: 176.3 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.9376, allocations: 8.312 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.9376, allocations: 4.375 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.9378, allocations: 77.72 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9379, allocations: 0 / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.9379, allocations: 4 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9379, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.9381, allocations: 39.97 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.9389, allocations: 308.7 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.9391, allocations: 54.55 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.9392, allocations: 36.91 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.9393, allocations: 3.938 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.9397, allocations: 83.27 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.9397, allocations: 0 / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.00053/0.9403, allocations: 141.7 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.9404, allocations: 51.41 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.9405, allocations: 129.7 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.9406, allocations: 29.7 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.9407, allocations: 88.14 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.9407, allocations: 11.81 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.9408, allocations: 29.7 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.941, allocations: 326.8 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.9411, allocations: 27.98 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.9412, allocations: 50.92 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.9415, allocations: 70.5 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.9415, allocations: 4 kB / 1.212 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003497/0.9418, allocations: 117.5 kB / 1.212 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.9419, allocations: 5.875 kB / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9419, allocations: 0 / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.9419, allocations: 4 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.942, allocations: 11.98 kB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9421, allocations: 0 / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.9421, allocations: 7.938 kB / 1.212 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.9422, allocations: 12.05 kB / 1.212 GB, free: 8.223 MB / 0.9356 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.000109/0.9423, allocations: 121.7 kB / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.9423, allocations: 11.91 kB / 1.212 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.9424, allocations: 8.312 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9424, allocations: 4 kB / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9424, allocations: 0 / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9424, allocations: 0 / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.9431, allocations: 382.5 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9431, allocations: 0 / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.9431, allocations: 7.984 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.9431, allocations: 3.938 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9432, allocations: 4 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.9432, allocations: 11.88 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9432, allocations: 480 / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.9435, allocations: 215.4 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.9437, allocations: 85.02 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.9437, allocations: 0 / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.9438, allocations: 11.92 kB / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.9438, allocations: 0 / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.9439, allocations: 4 kB / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.646e-05/0.9439, allocations: 95.27 kB / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9439, allocations: 0 / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003454/0.9443, allocations: 43.92 kB / 1.213 GB, free: 7.129 MB / 0.9356 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.0009316/0.9452, allocations: 0.7951 MB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.9455, allocations: 83.88 kB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9455, allocations: 3.938 kB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.9456, allocations: 35.92 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.9459, allocations: 8.469 kB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.9478, allocations: 1.492 MB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.9483, allocations: 0.6885 MB / 1.216 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.9483, allocations: 4 kB / 1.216 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.9484, allocations: 31.36 kB / 1.216 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.9484, allocations: 0 / 1.216 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.9689, allocations: 2.689 MB / 1.219 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.744, allocations: 0 / 1.219 GB, free: 1.316 MB / 0.9356 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