Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 1.104 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9467, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002388/0.9491, allocations: 1.491 MB / 1.27 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.9503, allocations: 0.7452 MB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.9503, allocations: 0 / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.9503, allocations: 6 kB / 1.271 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.9504, allocations: 10.08 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.9509, allocations: 117.8 kB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.951, allocations: 81.44 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.9511, allocations: 13.34 kB / 1.271 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.9511, allocations: 39.11 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.9512, allocations: 45.8 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.9512, allocations: 6 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.9515, allocations: 96.91 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.9515, allocations: 15.17 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.9515, allocations: 43.78 kB / 1.271 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.9518, allocations: 140.3 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9518, allocations: 0.8125 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9518, allocations: 0 / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.9518, allocations: 4 kB / 1.271 GB, free: 5.938 MB / 0.9981 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.0005087/0.9523, allocations: 418.7 kB / 1.272 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9523, allocations: 9.438 kB / 1.272 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.9523, allocations: 37.12 kB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.9524, allocations: 9.391 kB / 1.272 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.9524, allocations: 170.2 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.9525, allocations: 6.562 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.9525, allocations: 9.281 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.9526, allocations: 71.66 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9527, allocations: 0 / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.9527, allocations: 1.406 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9527, allocations: 1.531 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.9528, allocations: 35.62 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.9533, allocations: 322.4 kB / 1.273 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.9534, allocations: 48.17 kB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.9535, allocations: 34.44 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.9535, allocations: 0.875 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.9537, allocations: 73.14 kB / 1.273 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9537, allocations: 4 kB / 1.273 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000374/0.9541, allocations: 141.7 kB / 1.273 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.9541, allocations: 62.41 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.9542, allocations: 123.2 kB / 1.273 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.9542, allocations: 31.36 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.9542, allocations: 87.89 kB / 1.273 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.9542, allocations: 15.61 kB / 1.273 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.9543, allocations: 33.17 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.9543, allocations: 319.8 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.9544, allocations: 27.48 kB / 1.273 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.9545, allocations: 46.27 kB / 1.274 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.9546, allocations: 79.98 kB / 1.274 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9546, allocations: 0.8438 kB / 1.274 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.9549, allocations: 112.9 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9549, allocations: 5.156 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9549, allocations: 1.094 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9549, allocations: 1.75 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.955, allocations: 11.12 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.955, allocations: 1.938 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.9551, allocations: 17.58 kB / 1.274 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9551, allocations: 3.719 kB / 1.274 GB, free: 3.914 MB / 0.9981 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 5.956e-05/0.9551, allocations: 127.3 kB / 1.274 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.9552, allocations: 10.89 kB / 1.274 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.9552, allocations: 7.734 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.9552, allocations: 0.9062 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9552, allocations: 1.312 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9552, allocations: 0.7969 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.9556, allocations: 390.6 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9556, allocations: 1 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.9556, allocations: 5.594 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.9556, allocations: 3.984 kB / 1.274 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.9556, allocations: 2.375 kB / 1.274 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9556, allocations: 3.938 kB / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9556, allocations: 0 / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.9559, allocations: 214.5 kB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.9559, allocations: 83 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.9559, allocations: 1 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.956, allocations: 8.344 kB / 1.275 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.956, allocations: 10.8 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.956, allocations: 1.844 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.9561, allocations: 94.86 kB / 1.275 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9561, allocations: 4 kB / 1.275 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003147/0.9564, allocations: 42.14 kB / 1.275 GB, free: 3.047 MB / 0.9981 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.0006275/0.957, allocations: 0.804 MB / 1.276 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.9572, allocations: 74.61 kB / 1.276 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9572, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.9573, allocations: 26.36 kB / 1.276 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.9576, allocations: 14.23 kB / 1.276 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.9591, allocations: 1.502 MB / 1.277 GB, free: 16.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.9594, allocations: 0.6933 MB / 1.278 GB, free: 16.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.9594, allocations: 11.89 kB / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.9595, allocations: 21.98 kB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.9595, allocations: 0.6562 kB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.9856, allocations: 2.667 MB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/9.158, allocations: 13.81 kB / 1.28 GB, free: 15.77 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.470486961305141]