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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00136/0.00136, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001418/0.001418, allocations: 187.9 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.272/1.272, 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 11.0.0-master/package.mo): time 2.443/2.443, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 56.12 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6728, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002443/0.6752, allocations: 1.483 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.6765, allocations: 0.7284 MB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.6765, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.6766, allocations: 11.92 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.6766, allocations: 7.875 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.6772, allocations: 119.6 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.6773, allocations: 79.72 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.6774, allocations: 19.94 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.6775, allocations: 31.91 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.6775, allocations: 43.83 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.6776, allocations: 8 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.6778, allocations: 95.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.6778, allocations: 15.97 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.6778, allocations: 35.8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.6781, allocations: 143.5 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6781, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6781, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6781, allocations: 4 kB / 1.211 GB, free: 10.84 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.0005746/0.6787, allocations: 416.9 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6787, allocations: 8.031 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.6788, allocations: 8.844 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.6789, allocations: 184.2 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.6789, allocations: 4.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.6789, allocations: 384 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.6791, allocations: 73.97 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6791, allocations: 4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6792, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6792, allocations: 4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.6793, allocations: 35.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.6799, allocations: 320.6 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.68, allocations: 46.56 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.714e-05/0.6801, allocations: 32.97 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.6801, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.6803, allocations: 75.38 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.6803, allocations: 3.938 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003832/0.6807, allocations: 149.5 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.6807, allocations: 51.41 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.6808, allocations: 125.7 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6808, allocations: 29.7 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.6809, allocations: 88.14 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.6809, allocations: 15.8 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.6809, allocations: 33.7 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.6811, allocations: 318.8 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.6811, allocations: 27.98 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.6812, allocations: 46.55 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.6814, allocations: 78.8 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6814, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.6816, allocations: 117.5 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6817, allocations: 5.562 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6817, allocations: 7.984 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6817, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.6818, allocations: 11.94 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.6818, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.6819, allocations: 11.92 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.6819, allocations: 12.06 kB / 1.213 GB, free: 8.293 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 7.98e-05/0.682, allocations: 119.5 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.682, allocations: 7.906 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.682, allocations: 12.36 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6821, allocations: 4 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6821, allocations: 3.938 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.6821, allocations: 85 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.6821, allocations: 0 / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.6822, allocations: 11.94 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.6822, allocations: 11.92 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002814/0.6825, allocations: 188.9 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002924/0.6828, allocations: 278.8 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.402e-05/0.6829, allocations: 35.98 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.683, allocations: 95.92 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Backend: time 2.6e-07/0.683, allocations: 0 / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.6836, allocations: 183.1 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004753/0.6841, allocations: 0.6222 MB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.003702/0.6878, allocations: 1.504 MB / 1.216 GB, free: 5.062 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/jenkins1/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