Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00791/0.00791, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 483.2 MB / 0.7565 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004073, allocations: 8.75 kB / 0.9276 GB, free: 29.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4216, allocations: 164.5 MB / 1.088 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001904/0.4235, allocations: 1.201 MB / 1.089 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4249, allocations: 0.717 MB / 1.09 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.425, allocations: 4 kB / 1.09 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.425, allocations: 3.938 kB / 1.09 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.4251, allocations: 3.938 kB / 1.09 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.4256, allocations: 107.7 kB / 1.09 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4257, allocations: 67.83 kB / 1.09 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.4258, allocations: 11.98 kB / 1.09 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.4259, allocations: 39.84 kB / 1.09 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.426, allocations: 39.83 kB / 1.09 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.426, allocations: 4 kB / 1.09 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.4262, allocations: 83.91 kB / 1.09 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.4262, allocations: 19.91 kB / 1.09 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.4263, allocations: 53.56 kB / 1.091 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.4265, allocations: 135.8 kB / 1.091 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4265, allocations: 4 kB / 1.091 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4265, allocations: 0 / 1.091 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4266, allocations: 3.938 kB / 1.091 GB, free: 7.84 MB / 0.8419 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.0006406/0.4272, allocations: 409 kB / 1.091 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.4272, allocations: 8.031 kB / 1.091 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.4273, allocations: 12.83 kB / 1.091 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4274, allocations: 172.2 kB / 1.091 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4275, allocations: 384 / 1.091 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.4275, allocations: 8.375 kB / 1.091 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.4277, allocations: 81.95 kB / 1.091 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4277, allocations: 3.938 kB / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4278, allocations: 0 / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4278, allocations: 0 / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.4279, allocations: 43.97 kB / 1.091 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.4286, allocations: 316.8 kB / 1.092 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4287, allocations: 50.55 kB / 1.092 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/0.4288, allocations: 36.97 kB / 1.092 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4288, allocations: 11.88 kB / 1.092 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.4291, allocations: 79.38 kB / 1.092 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 3.767e-06/0.4291, allocations: 3.984 kB / 1.092 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004276/0.4295, allocations: 157.6 kB / 1.092 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4296, allocations: 51.41 kB / 1.092 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4297, allocations: 121.8 kB / 1.092 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4297, allocations: 25.7 kB / 1.092 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.4298, allocations: 99.98 kB / 1.092 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4298, allocations: 15.83 kB / 1.092 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4298, allocations: 17.72 kB / 1.092 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.43, allocations: 326.8 kB / 1.093 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.4301, allocations: 31.98 kB / 1.093 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.4302, allocations: 46.56 kB / 1.093 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.4304, allocations: 78.55 kB / 1.093 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4304, allocations: 3.938 kB / 1.093 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002563/0.4307, allocations: 121.5 kB / 1.093 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4307, allocations: 12.06 kB / 1.093 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4307, allocations: 0 / 1.093 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4307, allocations: 0 / 1.093 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.4308, allocations: 15.98 kB / 1.093 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.4308, allocations: 0 / 1.093 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.4309, allocations: 7.906 kB / 1.093 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.4309, allocations: 4 kB / 1.093 GB, free: 5.266 MB / 0.8419 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.0001273/0.4311, allocations: 125.8 kB / 1.093 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.4311, allocations: 4 kB / 1.093 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.4311, allocations: 12.31 kB / 1.093 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4311, allocations: 7.938 kB / 1.093 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4311, allocations: 3.938 kB / 1.093 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4311, allocations: 0 / 1.093 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.4316, allocations: 390.3 kB / 1.093 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4317, allocations: 0 / 1.093 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.4317, allocations: 11.98 kB / 1.093 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4317, allocations: 0 / 1.093 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4317, allocations: 0 / 1.093 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4317, allocations: 4 kB / 1.093 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4317, allocations: 7.875 kB / 1.093 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.4321, allocations: 223.4 kB / 1.094 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.4321, allocations: 81.11 kB / 1.094 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4322, allocations: 0 / 1.094 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.4322, allocations: 4 kB / 1.094 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.4323, allocations: 11.92 kB / 1.094 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4323, allocations: 0 / 1.094 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.4324, allocations: 95.27 kB / 1.094 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4324, allocations: 4 kB / 1.094 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002857/0.4327, allocations: 39.98 kB / 1.094 GB, free: 4.156 MB / 0.8419 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.0003561/0.433, allocations: 162 kB / 1.094 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4333, allocations: 79.89 kB / 1.094 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4333, allocations: 0 / 1.094 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4334, allocations: 43.91 kB / 1.094 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4337, allocations: 7.984 kB / 1.094 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.4341, allocations: 223.1 kB / 1.094 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4344, allocations: 0.6848 MB / 1.095 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.4344, allocations: 7.984 kB / 1.095 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.4345, allocations: 11.44 kB / 1.095 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4345, allocations: 0 / 1.095 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of Templates: time 0.00431/0.4388, allocations: 1.359 MB / 1.096 GB, free: 1.543 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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