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.00852/0.00852, allocations: 101 kB / 15.73 MB, free: 6.043 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.00127/0.00127, allocations: 190 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.91 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.33, allocations: 157.4 MB / 1.208 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003464/0.3335, allocations: 1.476 MB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3349, allocations: 0.7327 MB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.3349, allocations: 0 / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.335, allocations: 7.922 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.3351, allocations: 11.88 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.3357, allocations: 123.6 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3359, allocations: 79.72 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.336, allocations: 19.92 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3361, allocations: 31.92 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.3362, allocations: 43.81 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3362, allocations: 8 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.3366, allocations: 99.84 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.3366, allocations: 19.86 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.3367, allocations: 31.86 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.337, allocations: 135.6 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.337, allocations: 0 / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.337, allocations: 4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.337, allocations: 0 / 1.21 GB, free: 6.906 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.0007819/0.3378, allocations: 412.9 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3379, allocations: 16.03 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.338, allocations: 16.83 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3381, allocations: 176.2 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3382, allocations: 384 / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3382, allocations: 4.375 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3384, allocations: 73.97 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3384, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3385, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3385, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3386, allocations: 47.84 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.3393, allocations: 316.7 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3394, allocations: 50.55 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3396, allocations: 36.97 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3396, allocations: 0 / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3398, allocations: 91.36 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3398, allocations: 0 / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004466/0.3403, allocations: 125.6 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3403, allocations: 55.41 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3404, allocations: 133.7 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3405, allocations: 25.7 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.3405, allocations: 88.14 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.3406, allocations: 19.73 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3406, allocations: 25.72 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3408, allocations: 326.8 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.3408, allocations: 19.98 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.341, allocations: 58.48 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3411, allocations: 66.56 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3411, allocations: 0 / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002772/0.3414, allocations: 117.5 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3414, allocations: 9.562 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3415, allocations: 0 / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3415, allocations: 4 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3416, allocations: 15.92 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3416, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.3417, allocations: 15.86 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3417, allocations: 8 kB / 1.213 GB, free: 4.352 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 9.956e-05/0.3418, allocations: 121.8 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3418, allocations: 7.906 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.3419, allocations: 8.375 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3419, allocations: 0 / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3419, allocations: 7.984 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3419, allocations: 0 / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.3424, allocations: 382.3 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3424, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.3424, allocations: 4 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3424, allocations: 4 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3424, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3424, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3425, allocations: 3.938 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.3427, allocations: 219.3 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3428, allocations: 81.02 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3428, allocations: 4 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.3429, allocations: 7.984 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.343, allocations: 11.94 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.343, allocations: 11.98 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.3431, allocations: 87.28 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3431, allocations: 0 / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003193/0.3434, allocations: 39.98 kB / 1.214 GB, free: 3.266 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.0003495/0.3437, allocations: 165.6 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.3441, allocations: 75.89 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3441, allocations: 0 / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.3442, allocations: 31.98 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3445, allocations: 4 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.3449, allocations: 202.2 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3452, allocations: 0.6885 MB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3452, allocations: 4 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3453, allocations: 11.44 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3453, allocations: 0 / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Templates: time 0.004297/0.3496, allocations: 1.46 MB / 1.216 GB, free: 0.5898 MB / 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