Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_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.007508/0.007508, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.00178/0.00178, allocations: 199.5 kB / 16.68 MB, free: 6.375 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 74.78 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3113, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002733/0.314, allocations: 1.473 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3154, allocations: 0.7336 MB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.3154, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.3155, allocations: 3.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.3156, allocations: 19.84 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.3163, allocations: 115.6 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3164, allocations: 75.83 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3165, allocations: 19.97 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3166, allocations: 39.83 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.3167, allocations: 39.84 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3168, allocations: 8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.317, allocations: 91.91 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.317, allocations: 15.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.3171, allocations: 35.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3173, allocations: 146.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3174, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3174, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3174, allocations: 3.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 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.0006594/0.318, allocations: 413.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3181, allocations: 8.031 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.3181, allocations: 38.75 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3182, allocations: 4.844 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3183, allocations: 180.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.3184, allocations: 4.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3184, allocations: 12.38 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3186, allocations: 73.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3186, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3186, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3187, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3188, allocations: 35.97 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.3196, allocations: 316.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3197, allocations: 58.48 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.3198, allocations: 32.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3198, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.3201, allocations: 79.38 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3201, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004409/0.3205, allocations: 141.5 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.3206, allocations: 59.47 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3207, allocations: 122.1 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3208, allocations: 29.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.3208, allocations: 92.05 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3209, allocations: 15.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.3209, allocations: 29.72 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3211, allocations: 326.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.3212, allocations: 19.98 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.3213, allocations: 58.59 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3215, allocations: 70.5 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3215, allocations: 7.938 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002629/0.3217, allocations: 101.6 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3218, allocations: 8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3218, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3218, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3219, allocations: 11.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3219, allocations: 8.453 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.322, allocations: 15.89 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.322, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 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.0001137/0.3222, allocations: 126.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3222, allocations: 7.906 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.3222, allocations: 8.375 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3222, allocations: 3.938 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3222, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3223, allocations: 7.984 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.3228, allocations: 382.5 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3228, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.3228, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3228, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3228, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3229, allocations: 3.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3229, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3232, allocations: 211.4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.3233, allocations: 81.02 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3233, allocations: 8 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.3234, allocations: 11.92 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3235, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3235, allocations: 3.984 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.3236, allocations: 99.27 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.974e-06/0.3236, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003206/0.3239, allocations: 43.92 kB / 1.093 GB, free: 11.49 MB / 0.8575 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.0008867/0.3248, allocations: 0.8048 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.325, allocations: 63.91 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.325, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.3251, allocations: 31.98 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3254, allocations: 15.92 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3274, allocations: 1.503 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3278, allocations: 0.6885 MB / 1.096 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3278, allocations: 11.73 kB / 1.096 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3279, allocations: 23.42 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3279, allocations: 0 / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3494, allocations: 2.641 MB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.213, allocations: 13.3 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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