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.0008809/0.0008808, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005123/0.005124, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.228/2.228, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4862, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001327/0.4875, allocations: 1.2 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.4885, allocations: 0.7209 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.4886, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.4886, allocations: 7.922 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.4886, allocations: 3.938 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.489, allocations: 107.8 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.4891, allocations: 71.72 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.4892, allocations: 19.98 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.4893, allocations: 27.91 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.4893, allocations: 31.84 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.4894, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.4895, allocations: 91.84 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.4895, allocations: 19.91 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.4896, allocations: 57.55 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4898, allocations: 129.9 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4898, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4898, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.4898, allocations: 0 / 1.026 GB, free: 13.34 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.0004624/0.4903, allocations: 413 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4903, allocations: 8.031 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.4903, allocations: 42.73 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.4904, allocations: 8.844 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.4905, allocations: 168.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4905, allocations: 12.38 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.4905, allocations: 8.359 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4907, allocations: 73.77 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.4907, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4907, allocations: 8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4907, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4909, allocations: 43.97 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.4914, allocations: 328.5 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.4915, allocations: 54.56 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.4916, allocations: 32.97 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.4916, allocations: 7.938 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.4917, allocations: 75.38 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4918, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003527/0.4921, allocations: 149.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4922, allocations: 51.41 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.4922, allocations: 129.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4923, allocations: 29.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.4923, allocations: 96.08 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.4923, allocations: 15.8 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4924, allocations: 17.72 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.4925, allocations: 322.8 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.4925, allocations: 27.98 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.4926, allocations: 54.55 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4928, allocations: 78.5 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4928, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.493, allocations: 125.5 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.493, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.4931, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.4931, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.4931, allocations: 11.98 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4932, allocations: 7.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.4932, allocations: 7.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4933, allocations: 16.05 kB / 1.028 GB, free: 10.69 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 7.186e-05/0.4933, allocations: 118.3 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.4934, allocations: 7.906 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.4934, allocations: 4.375 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4934, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4934, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4934, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.4938, allocations: 386.8 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4938, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.4939, allocations: 7.984 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4939, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4939, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4939, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4939, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.4941, allocations: 227.5 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.4942, allocations: 81.02 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4942, allocations: 11.94 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.4943, allocations: 7.938 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.4943, allocations: 7.984 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4943, allocations: 8 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.112e-05/0.4944, allocations: 91.27 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4944, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002582/0.4947, allocations: 43.92 kB / 1.029 GB, free: 9.59 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.0006452/0.4953, allocations: 0.8025 MB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4955, allocations: 83.95 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4955, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.4956, allocations: 39.91 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4959, allocations: 17.12 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4972, allocations: 1.523 MB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.4974, allocations: 0.6848 MB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.4975, allocations: 7.984 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.4975, allocations: 23.38 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4975, allocations: 0 / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/1.997, allocations: 2.331 MB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.997, allocations: 272.3 kB / 1.034 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/4.132, allocations: 1.562 kB / 1.034 GB, free: 3.758 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