Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_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.001741/0.001746, allocations: 108 kB / 15.61 MB, free: 152 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.001978/0.001978, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.689/2.689, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 63.61 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3065, allocations: 159.2 MB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002673/0.3093, allocations: 1.482 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3105, allocations: 0.7379 MB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.3105, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.3105, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.3106, allocations: 15.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.3111, allocations: 115.6 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3112, allocations: 83.77 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.3113, allocations: 8 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.3114, allocations: 39.89 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.3115, allocations: 39.84 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3115, allocations: 4 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3117, allocations: 99.84 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3117, allocations: 15.92 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3118, allocations: 35.84 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.312, allocations: 135.9 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.312, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.312, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.312, allocations: 0 / 1.067 GB, free: 11.46 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.0005854/0.3126, allocations: 417 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3126, allocations: 12.03 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.3127, allocations: 34.75 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3127, allocations: 12.78 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3128, allocations: 176.2 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3129, allocations: 4.375 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3129, allocations: 8.375 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3131, allocations: 69.78 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3131, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3131, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3131, allocations: 3.938 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3132, allocations: 39.97 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3138, allocations: 320.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3139, allocations: 42.56 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.314, allocations: 44.94 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.314, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3142, allocations: 87.31 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3142, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.3146, allocations: 137.5 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3147, allocations: 51.48 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3148, allocations: 122.2 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3148, allocations: 25.7 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3149, allocations: 108 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3149, allocations: 11.75 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.3149, allocations: 33.7 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3151, allocations: 322.8 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.3152, allocations: 23.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.3153, allocations: 54.59 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3154, allocations: 74.5 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3154, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002229/0.3157, allocations: 105.6 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3157, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3157, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.3157, allocations: 8.062 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.3158, allocations: 15.92 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3158, allocations: 3.938 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.009e-05/0.3159, allocations: 11.91 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3159, allocations: 7.984 kB / 1.069 GB, free: 8.863 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.559e-05/0.316, allocations: 117.8 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.316, allocations: 7.906 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.316, allocations: 8.375 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3161, allocations: 8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3161, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3161, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.3165, allocations: 386.3 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3165, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.3166, allocations: 7.984 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3166, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3166, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3166, allocations: 11.94 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3166, allocations: 480 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3169, allocations: 215.3 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.3169, allocations: 85.02 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.317, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.3171, allocations: 7.938 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3171, allocations: 3.984 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3171, allocations: 8 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.3172, allocations: 91.27 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3172, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002614/0.3174, allocations: 39.98 kB / 1.07 GB, free: 7.777 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.0007831/0.3182, allocations: 0.8014 MB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3185, allocations: 67.95 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3185, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.3186, allocations: 39.92 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3188, allocations: 16.05 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3212, allocations: 1.488 MB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3216, allocations: 0.6922 MB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.066e-05/0.3217, allocations: 4 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.3218, allocations: 24.92 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3218, allocations: 0 / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.052, allocations: 2.619 MB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.55, allocations: 6.312 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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