Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001096/0.001096, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001045/0.001045, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6889, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002356/0.6913, allocations: 1.482 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.6924, allocations: 0.7324 MB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.6925, allocations: 0.5938 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.6925, allocations: 12.67 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.6926, allocations: 6.234 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.6931, allocations: 122.1 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.6932, allocations: 73.03 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.6933, allocations: 19.94 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.6934, allocations: 30.77 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.6935, allocations: 49.17 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.6935, allocations: 7.5 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.6938, allocations: 90.36 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.6938, allocations: 18.7 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.6939, allocations: 31.94 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.6941, allocations: 146.2 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6941, allocations: 1.094 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6941, allocations: 0 / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6941, allocations: 0 / 1.091 GB, free: 3.75 MB / 0.8575 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.0005726/0.6947, allocations: 424.2 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6948, allocations: 9.797 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.6948, allocations: 8.219 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.009e-05/0.6949, allocations: 174 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6949, allocations: 6.875 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.695, allocations: 9.516 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.6951, allocations: 66.89 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6952, allocations: 2.172 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6952, allocations: 4 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6952, allocations: 12.98 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.6953, allocations: 35.97 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.6959, allocations: 314.3 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.696, allocations: 51 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.6961, allocations: 35.44 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.6961, allocations: 0.875 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.6963, allocations: 77.11 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6963, allocations: 0 / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003901/0.6967, allocations: 138 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.6967, allocations: 57.77 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.6968, allocations: 118.7 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6968, allocations: 31.3 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.6969, allocations: 92.94 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6969, allocations: 15.09 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.6969, allocations: 26.08 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.697, allocations: 327.5 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.6971, allocations: 34.75 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.6972, allocations: 46.03 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.6973, allocations: 68.98 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6973, allocations: 0.7812 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.6976, allocations: 116.5 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6976, allocations: 4.812 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6976, allocations: 5.609 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6976, allocations: 1.969 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.6977, allocations: 10.78 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.6977, allocations: 1.125 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.6978, allocations: 13.88 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6978, allocations: 3.75 kB / 1.094 GB, free: 1.766 MB / 0.8575 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 6.085e-05/0.6979, allocations: 127.3 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.6979, allocations: 11.52 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.6979, allocations: 7.531 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6979, allocations: 0 / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6979, allocations: 1.734 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.698, allocations: 83.94 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.698, allocations: 5.312 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.6981, allocations: 8.188 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6981, allocations: 8.641 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002784/0.6984, allocations: 188.5 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002741/0.6987, allocations: 282.8 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.478e-05/0.6988, allocations: 38.81 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.6988, allocations: 95.16 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of Backend: time 6.02e-07/0.6988, allocations: 4.594 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006379/0.6995, allocations: 183.8 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003729/0.6999, allocations: 0.6273 MB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of Templates: time 0.004293/0.7042, allocations: 1.504 MB / 1.097 GB, free: 180 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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