Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008632/0.008632, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001714/0.001715, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 63.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3172, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002449/0.3197, allocations: 1.482 MB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3209, allocations: 0.7327 MB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.321, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.321, allocations: 3.938 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.3211, allocations: 11.86 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.3216, allocations: 119.6 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3217, allocations: 87.69 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.56e-05/0.3218, allocations: 11.95 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.3219, allocations: 35.91 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.3219, allocations: 39.83 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.322, allocations: 4 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3221, allocations: 99.84 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.3222, allocations: 15.92 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.3222, allocations: 39.84 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3225, allocations: 139.6 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3225, allocations: 0 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3225, allocations: 3.938 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3225, allocations: 0 / 1.21 GB, free: 6.801 MB / 0.9669 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.0005715/0.3231, allocations: 419 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3231, allocations: 12.03 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3232, allocations: 4.844 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3233, allocations: 180.1 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3233, allocations: 16.36 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3233, allocations: 4.375 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3235, allocations: 69.97 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3235, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3235, allocations: 4 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3235, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3237, allocations: 39.91 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.3242, allocations: 316.7 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3243, allocations: 54.5 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.3244, allocations: 32.97 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3244, allocations: 0 / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3246, allocations: 75.38 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3246, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003515/0.3249, allocations: 141.6 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.325, allocations: 55.41 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.3251, allocations: 117.8 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3252, allocations: 33.7 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.3252, allocations: 96.19 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.3252, allocations: 19.75 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3253, allocations: 25.7 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3254, allocations: 326.8 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.3255, allocations: 23.98 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3257, allocations: 46.56 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3258, allocations: 78.8 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3258, allocations: 0 / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.326, allocations: 117.5 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3261, allocations: 4 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-06/0.3261, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3261, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.3262, allocations: 20.05 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3262, allocations: 0 / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.3263, allocations: 7.938 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.3263, allocations: 4 kB / 1.213 GB, free: 4.254 MB / 0.9669 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.862e-05/0.3264, allocations: 125.7 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.3264, allocations: 15.89 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.3264, allocations: 4.375 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3264, allocations: 7.938 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3264, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3264, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.327, allocations: 390.3 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.327, allocations: 0 / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.327, allocations: 7.984 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.327, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.327, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.327, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.327, allocations: 7.938 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3273, allocations: 207.4 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.3274, allocations: 85 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3274, allocations: 4 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.3275, allocations: 0 / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3276, allocations: 11.92 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3276, allocations: 3.938 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.3276, allocations: 103.3 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002619/0.3279, allocations: 36 kB / 1.214 GB, free: 3.16 MB / 0.9669 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.0002896/0.3282, allocations: 160.2 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3284, allocations: 79.88 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3284, allocations: 0 / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.3285, allocations: 31.98 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3288, allocations: 12.53 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.3292, allocations: 188.8 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3295, allocations: 0.6925 MB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.3296, allocations: 4 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3297, allocations: 11.42 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3297, allocations: 0 / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of Templates: time 0.004186/0.3339, allocations: 1.485 MB / 1.216 GB, free: 472 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time