Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001682/0.001682, allocations: 107 kB / 16.45 MB, free: 6.508 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.001875/0.001875, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.94 kB / 1.104 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3713, allocations: 168.7 MB / 1.269 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002978/0.3743, allocations: 1.476 MB / 1.27 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3757, allocations: 0.7373 MB / 1.271 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.3757, allocations: 4 kB / 1.271 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3758, allocations: 7.922 kB / 1.271 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.3758, allocations: 7.875 kB / 1.271 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.3764, allocations: 123.6 kB / 1.271 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3765, allocations: 71.77 kB / 1.271 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3766, allocations: 15.94 kB / 1.271 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.3767, allocations: 39.86 kB / 1.271 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3768, allocations: 43.81 kB / 1.271 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3768, allocations: 4 kB / 1.271 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.377, allocations: 103.8 kB / 1.271 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.377, allocations: 15.98 kB / 1.271 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.3771, allocations: 39.78 kB / 1.271 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.3774, allocations: 143.8 kB / 1.271 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3774, allocations: 0 / 1.271 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3774, allocations: 0 / 1.271 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3774, allocations: 0 / 1.271 GB, free: 10.04 MB / 0.9825 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.0007132/0.3781, allocations: 420.8 kB / 1.272 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3782, allocations: 8.031 kB / 1.272 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.3782, allocations: 38.75 kB / 1.272 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.3782, allocations: 8.891 kB / 1.272 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3784, allocations: 176.2 kB / 1.272 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3784, allocations: 4.375 kB / 1.272 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3784, allocations: 8.375 kB / 1.272 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3786, allocations: 73.77 kB / 1.272 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3786, allocations: 4 kB / 1.272 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3787, allocations: 3.984 kB / 1.272 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3787, allocations: 0 / 1.272 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3788, allocations: 35.97 kB / 1.272 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.3794, allocations: 316.7 kB / 1.273 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3796, allocations: 54.44 kB / 1.273 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3797, allocations: 36.97 kB / 1.273 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3797, allocations: 3.984 kB / 1.273 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.3799, allocations: 71.39 kB / 1.273 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3799, allocations: 0 / 1.273 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00044/0.3803, allocations: 145.5 kB / 1.273 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.3804, allocations: 59.47 kB / 1.273 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3805, allocations: 121.8 kB / 1.273 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3805, allocations: 29.7 kB / 1.273 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.3806, allocations: 88.12 kB / 1.273 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3806, allocations: 19.84 kB / 1.273 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3807, allocations: 25.7 kB / 1.273 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3808, allocations: 330.8 kB / 1.273 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.3809, allocations: 23.98 kB / 1.273 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.381, allocations: 46.56 kB / 1.274 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3811, allocations: 74.48 kB / 1.274 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3811, allocations: 4 kB / 1.274 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.3814, allocations: 113.5 kB / 1.274 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3814, allocations: 4 kB / 1.274 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3814, allocations: 0 / 1.274 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3814, allocations: 4 kB / 1.274 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.3815, allocations: 11.98 kB / 1.274 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3815, allocations: 0 / 1.274 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.3816, allocations: 4 kB / 1.274 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3816, allocations: 12 kB / 1.274 GB, free: 7.445 MB / 0.9825 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.0001065/0.3817, allocations: 130.2 kB / 1.274 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.3817, allocations: 7.953 kB / 1.274 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.3818, allocations: 4.375 kB / 1.274 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3818, allocations: 4 kB / 1.274 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3818, allocations: 4 kB / 1.274 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3818, allocations: 0 / 1.274 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.3823, allocations: 394.3 kB / 1.274 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3823, allocations: 0 / 1.274 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.3823, allocations: 7.984 kB / 1.274 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3823, allocations: 0 / 1.274 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3823, allocations: 0 / 1.274 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3823, allocations: 3.938 kB / 1.274 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3823, allocations: 0 / 1.274 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3826, allocations: 212 kB / 1.274 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.3827, allocations: 81.06 kB / 1.275 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3827, allocations: 4 kB / 1.275 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.3828, allocations: 7.875 kB / 1.275 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3828, allocations: 11.92 kB / 1.275 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3828, allocations: 4 kB / 1.275 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.3829, allocations: 95.27 kB / 1.275 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 0 / 1.275 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002945/0.3832, allocations: 39.92 kB / 1.275 GB, free: 6.348 MB / 0.9825 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.0008908/0.3841, allocations: 0.8079 MB / 1.276 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3843, allocations: 71.89 kB / 1.276 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3843, allocations: 0 / 1.276 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.3844, allocations: 35.92 kB / 1.276 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3847, allocations: 11.92 kB / 1.276 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3864, allocations: 1.498 MB / 1.277 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3868, allocations: 0.7 MB / 1.278 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.3868, allocations: 4 kB / 1.278 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.3869, allocations: 19.42 kB / 1.278 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3869, allocations: 4 kB / 1.278 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.413, allocations: 2.675 MB / 1.28 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.675, allocations: 15.55 kB / 1.28 GB, free: 0.5391 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.264423084445298]