Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.0009539/0.000954, allocations: 91.84 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.007361/0.007361, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.275/2.275, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 11.98 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5012, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001369/0.5026, allocations: 1.192 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.5036, allocations: 0.7209 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.5037, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.5037, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.5038, allocations: 19.8 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.5041, allocations: 103.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.152e-05/0.5043, allocations: 71.77 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.5043, allocations: 12 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.5044, allocations: 27.92 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.5045, allocations: 39.81 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.5045, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.5047, allocations: 91.84 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.5047, allocations: 11.92 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.5047, allocations: 57.55 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.5049, allocations: 133.9 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5049, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.505, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.505, allocations: 0 / 1.026 GB, free: 13.32 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.0004974/0.5055, allocations: 409 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5055, allocations: 12.03 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.5055, allocations: 38.67 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.5056, allocations: 8.844 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.5057, allocations: 172.3 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5057, allocations: 8.312 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5057, allocations: 4.375 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.5059, allocations: 77.78 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.5059, allocations: 3.984 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5059, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5059, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.5061, allocations: 43.98 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.5066, allocations: 332.5 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.5067, allocations: 54.5 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.5068, allocations: 36.97 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5069, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.507, allocations: 79.31 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.507, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003669/0.5074, allocations: 145.6 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.5075, allocations: 55.39 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.5075, allocations: 121.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5076, allocations: 33.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.5076, allocations: 92.12 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5076, allocations: 19.88 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.5077, allocations: 17.72 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.5078, allocations: 322.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.5079, allocations: 27.98 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-05/0.508, allocations: 58.48 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.5081, allocations: 70.56 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5081, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002311/0.5084, allocations: 121.5 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5084, allocations: 8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5084, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.5084, allocations: 3.984 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.5085, allocations: 19.92 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5085, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.5086, allocations: 19.98 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5086, allocations: 4 kB / 1.028 GB, free: 10.68 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.311e-05/0.5087, allocations: 120.5 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.5087, allocations: 11.84 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.5088, allocations: 8.375 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5088, allocations: 4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5088, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5088, allocations: 3.984 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.5092, allocations: 382.4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5092, allocations: 7.984 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.5093, allocations: 8 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5093, allocations: 3.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5093, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5093, allocations: 3.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5093, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.5096, allocations: 219.3 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.5096, allocations: 85.02 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.5096, allocations: 0 / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.5097, allocations: 11.92 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5098, allocations: 12 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.5098, allocations: 3.984 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.5098, allocations: 91.94 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5098, allocations: 0 / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002691/0.5101, allocations: 43.92 kB / 1.029 GB, free: 9.578 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.000684/0.5108, allocations: 0.8138 MB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.511, allocations: 75.97 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.511, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.5111, allocations: 43.86 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5114, allocations: 20.98 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.5128, allocations: 1.523 MB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.513, allocations: 0.6809 MB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.5131, allocations: 11.97 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.5131, allocations: 19.44 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5131, allocations: 0 / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.546/4.059, allocations: 2.338 MB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/4.06, allocations: 266.5 kB / 1.034 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/6.194, allocations: 0 / 1.034 GB, free: 3.75 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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