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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008866/0.008866, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001915/0.001915, allocations: 192.2 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00298/0.32, allocations: 1.48 MB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3214, allocations: 0.7245 MB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.3215, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.3216, allocations: 3.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.3217, allocations: 15.86 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.3223, allocations: 123.6 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3224, allocations: 79.69 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3226, allocations: 12 kB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3227, allocations: 31.91 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.3227, allocations: 39.83 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3228, allocations: 8 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.323, allocations: 99.84 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.323, allocations: 15.98 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.3231, allocations: 35.84 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3234, allocations: 146.4 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3234, allocations: 0 / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3234, allocations: 3.938 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3234, allocations: 0 / 1.169 GB, free: 4.543 MB / 0.92 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.0007059/0.3241, allocations: 413.8 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3242, allocations: 12.03 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.3242, allocations: 38.75 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3243, allocations: 8.844 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3244, allocations: 176.2 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.3245, allocations: 4.359 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3245, allocations: 4.375 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3247, allocations: 73.78 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3247, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3247, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3247, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3249, allocations: 43.91 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.3255, allocations: 316.8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3257, allocations: 46.55 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.3258, allocations: 40.97 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3258, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.326, allocations: 87.22 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.326, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003909/0.3264, allocations: 129.6 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3265, allocations: 55.41 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3266, allocations: 137.7 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3266, allocations: 29.64 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3267, allocations: 88.2 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3267, allocations: 15.81 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.3268, allocations: 29.7 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3269, allocations: 330.7 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.327, allocations: 19.98 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3271, allocations: 54.55 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3273, allocations: 66.56 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3273, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.3275, allocations: 117.5 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3275, allocations: 4 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3275, allocations: 3.938 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3276, allocations: 4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.3277, allocations: 11.98 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3277, allocations: 0 / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.3278, allocations: 8 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3278, allocations: 7.984 kB / 1.171 GB, free: 1.957 MB / 0.92 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 9.522e-05/0.3279, allocations: 125.8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.3279, allocations: 7.906 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.3279, allocations: 8.375 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3279, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3279, allocations: 4 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.328, allocations: 7.938 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3284, allocations: 374.9 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3284, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.3285, allocations: 11.98 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3285, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3285, allocations: 3.938 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3285, allocations: 3.938 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3285, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3288, allocations: 219.4 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3288, allocations: 81.02 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3289, allocations: 4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.329, allocations: 11.92 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.329, allocations: 8 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.329, allocations: 4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.3291, allocations: 91.92 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003002/0.3294, allocations: 39.98 kB / 1.172 GB, free: 0.8711 MB / 0.92 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.0007664/0.3302, allocations: 0.807 MB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3304, allocations: 71.97 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3304, allocations: 4.125 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.3305, allocations: 35.98 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3308, allocations: 14.17 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3326, allocations: 1.49 MB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.333, allocations: 0.6903 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.45e-05/0.333, allocations: 4.469 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.3331, allocations: 15.42 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3331, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.3541, allocations: 2.665 MB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.241, allocations: 9.391 kB / 1.178 GB, free: 11.08 MB / 0.9356 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