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 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.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.008142/0.008142, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001776/0.001776, allocations: 203.1 kB / 16.68 MB, free: 5.934 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8941, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002624/0.8968, allocations: 1.475 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.898, allocations: 0.7283 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.8981, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.8981, allocations: 7.922 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.8982, allocations: 15.86 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.8988, allocations: 123.6 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.8989, allocations: 75.78 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.899, allocations: 15.92 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.8991, allocations: 39.84 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.8992, allocations: 43.83 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.8992, allocations: 8 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.8994, allocations: 91.91 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.8994, allocations: 19.92 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.8995, allocations: 35.84 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.8997, allocations: 147.4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8997, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8997, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8997, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 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.0006032/0.9003, allocations: 410.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.9004, allocations: 8.031 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.9004, allocations: 12.84 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.9005, allocations: 176.3 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.9006, allocations: 384 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.9006, allocations: 4.375 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.9008, allocations: 77.91 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.9008, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9008, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.9008, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.9009, allocations: 43.91 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.9015, allocations: 320.7 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.9016, allocations: 50.48 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.9017, allocations: 32.97 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.9017, allocations: 0 / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.9019, allocations: 79.38 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.9019, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003898/0.9023, allocations: 145.5 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9024, allocations: 55.34 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.9025, allocations: 129.7 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9025, allocations: 33.7 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.9026, allocations: 88.14 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.9026, allocations: 15.8 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.9027, allocations: 25.72 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9028, allocations: 322.8 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.9029, allocations: 27.98 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.903, allocations: 46.55 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.9031, allocations: 74.5 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9031, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.9034, allocations: 113.8 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.9034, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9034, allocations: 4.062 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9034, allocations: 4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.9035, allocations: 11.98 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.9035, allocations: 4.062 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.9036, allocations: 15.86 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.9036, allocations: 8 kB / 1.213 GB, free: 8.227 MB / 0.9356 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.467e-05/0.9037, allocations: 121.7 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.9037, allocations: 11.91 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.9038, allocations: 12.38 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9038, allocations: 4 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9038, allocations: 0 / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9038, allocations: 3.984 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.9042, allocations: 370.5 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9042, allocations: 3.984 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.9043, allocations: 7.938 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9043, allocations: 0 / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.9043, allocations: 4 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9043, allocations: 4 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9043, allocations: 3.938 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.9046, allocations: 211.4 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.9046, allocations: 85.02 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.9046, allocations: 0 / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.9047, allocations: 7.984 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.9048, allocations: 11.94 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.9048, allocations: 4 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.9048, allocations: 91.27 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9049, allocations: 0 / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002785/0.9051, allocations: 43.92 kB / 1.214 GB, free: 7.141 MB / 0.9356 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.0003029/0.9054, allocations: 169 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.9057, allocations: 71.95 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9057, allocations: 0 / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.9058, allocations: 35.92 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.9061, allocations: 11.94 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.9066, allocations: 189 kB / 1.214 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.907, allocations: 0.69 MB / 1.215 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.907, allocations: 4 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.9071, allocations: 11.44 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.9071, allocations: 0 / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.004604/0.9117, allocations: 1.47 MB / 1.216 GB, free: 4.457 MB / 0.9356 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=480 -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