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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001713, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 70.12 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.282, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002522/0.2846, allocations: 1.486 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2858, allocations: 0.7263 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.2858, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.2858, allocations: 7.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.2859, allocations: 23.78 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.2864, allocations: 111.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2865, allocations: 83.77 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.2866, allocations: 8 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.2866, allocations: 27.92 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.2867, allocations: 51.81 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2867, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.2869, allocations: 95.84 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.287, allocations: 15.92 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.287, allocations: 35.84 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.2872, allocations: 139.9 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2872, allocations: 3.938 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2872, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2872, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 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.0005633/0.2878, allocations: 421 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2878, allocations: 8.031 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.2879, allocations: 34.75 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2879, allocations: 8.844 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2881, allocations: 176.2 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2881, allocations: 8.312 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2881, allocations: 8.375 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2883, allocations: 65.78 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2883, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2883, allocations: 8 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2883, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2884, allocations: 35.97 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.289, allocations: 312.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2891, allocations: 58.44 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.2892, allocations: 36.97 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2892, allocations: 7.969 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.2894, allocations: 75.38 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2894, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003627/0.2898, allocations: 149.5 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2898, allocations: 55.41 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.2899, allocations: 117.8 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.29, allocations: 33.69 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.29, allocations: 96.11 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.29, allocations: 15.75 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.2901, allocations: 29.7 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2902, allocations: 330.8 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.2903, allocations: 19.98 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.2904, allocations: 50.56 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2906, allocations: 70.48 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2906, allocations: 8 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002235/0.2908, allocations: 101.6 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2908, allocations: 8 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2908, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2909, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.2909, allocations: 11.98 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.291, allocations: 4 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.291, allocations: 11.91 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.291, allocations: 4.062 kB / 1.069 GB, free: 8.738 MB / 0.8262 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.772e-05/0.2911, allocations: 133.6 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.2912, allocations: 7.844 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.2912, allocations: 12.38 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2912, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2912, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.2912, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.2916, allocations: 394.3 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2917, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.2917, allocations: 3.984 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2917, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.2917, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2917, allocations: 3.938 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2917, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.292, allocations: 211.4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.2921, allocations: 81.02 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2921, allocations: 4 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.2922, allocations: 7.938 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2922, allocations: 7.984 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.2922, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.2923, allocations: 99.2 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2923, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002697/0.2926, allocations: 39.98 kB / 1.07 GB, free: 7.645 MB / 0.8262 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.0007347/0.2933, allocations: 0.8037 MB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2935, allocations: 75.89 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2936, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.2937, allocations: 43.86 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.2939, allocations: 11.92 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2954, allocations: 1.48 MB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2957, allocations: 0.6961 MB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.2957, allocations: 11.88 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.2958, allocations: 23.42 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2958, allocations: 0 / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8209/1.117, allocations: 2.607 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.79, allocations: 12.66 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_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