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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 65.23 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 169.9 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003101/0.3259, allocations: 1.526 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3275, allocations: 0.8158 MB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.3276, allocations: 3.938 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.3276, allocations: 7.922 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.3277, allocations: 15.86 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.3284, allocations: 135.6 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3285, allocations: 83.7 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.3286, allocations: 8.188 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3288, allocations: 43.89 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.3289, allocations: 43.77 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3289, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.3292, allocations: 147.8 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.3293, allocations: 11.98 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.3293, allocations: 43.78 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.3296, allocations: 151 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3296, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3296, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3296, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 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.000749/0.3304, allocations: 355.5 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3304, allocations: 15.97 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.3305, allocations: 30.75 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.3308, allocations: 36.88 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3311, allocations: 132.9 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3311, allocations: 4.375 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3311, allocations: 4.312 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3314, allocations: 81.52 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3314, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3314, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.3314, allocations: 4 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.3315, allocations: 39.97 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.3324, allocations: 279.9 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3325, allocations: 50.53 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.3326, allocations: 32.91 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3327, allocations: 8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3329, allocations: 71.38 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3329, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004984/0.3334, allocations: 141.7 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.3334, allocations: 51.41 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3336, allocations: 130 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3337, allocations: 33.7 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.3337, allocations: 88.09 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.3338, allocations: 23.83 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.3339, allocations: 21.72 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3341, allocations: 326.8 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.3342, allocations: 23.98 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3343, allocations: 58.48 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3345, allocations: 74.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3345, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002777/0.3347, allocations: 117.5 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3348, allocations: 8.062 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3348, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3348, allocations: 4 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3349, allocations: 15.92 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3349, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.335, allocations: 7.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.335, allocations: 7.938 kB / 1.288 GB, free: 6.168 MB / 0.9825 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.0001226/0.3351, allocations: 121.8 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.3351, allocations: 11.95 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.3351, allocations: 4.375 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3352, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3352, allocations: 7.984 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3352, allocations: 3.938 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.3356, allocations: 349.5 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3357, allocations: 0 / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3357, allocations: 4 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3357, allocations: 4 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3357, allocations: 4 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3357, allocations: 7.875 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3357, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3361, allocations: 207.5 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.3361, allocations: 11.89 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3361, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.3362, allocations: 15.92 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3362, allocations: 4 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3362, allocations: 7.984 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.3363, allocations: 94.89 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3363, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003299/0.3366, allocations: 39.94 kB / 1.289 GB, free: 5.207 MB / 0.9825 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.0009445/0.3376, allocations: 0.8021 MB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.3378, allocations: 71.89 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3378, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3379, allocations: 44.08 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3382, allocations: 13.19 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3401, allocations: 1.505 MB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3405, allocations: 0.6846 MB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.3405, allocations: 7.984 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.3406, allocations: 19.44 kB / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3406, allocations: 0 / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3734, allocations: 2.83 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.56, allocations: 12.55 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=1.44 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.continuous,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 [Calling sys.exit(0), Time elapsed: 18.32451071590185]