Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001902/0.001903, allocations: 112.4 kB / 16.42 MB, free: 6.496 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.002086/0.002086, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 72.11 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.15, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003919/1.154, allocations: 1.744 MB / 1.223 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001704/1.156, allocations: 0.6288 MB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/1.156, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/1.156, allocations: 11.86 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/1.156, allocations: 35.78 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/1.158, allocations: 358.5 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008669/1.159, allocations: 0.6437 MB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/1.159, allocations: 33.11 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/1.159, allocations: 307.5 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/1.16, allocations: 167.3 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/1.16, allocations: 40 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/1.16, allocations: 40 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/1.16, allocations: 123.7 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/1.161, allocations: 219 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/1.161, allocations: 0.5934 MB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.161, allocations: 4 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.265e-06/1.161, allocations: 0 / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.643e-05/1.161, allocations: 0 / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001789/1.163, allocations: 0.9053 MB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.163, allocations: 12.61 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/1.163, allocations: 56.41 kB / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/1.164, allocations: 330.2 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/1.164, allocations: 24.36 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/1.164, allocations: 20.38 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.165, allocations: 238 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.165, allocations: 4.125 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/1.165, allocations: 15.92 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.165, allocations: 7.938 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/1.166, allocations: 118 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/1.168, allocations: 0.6641 MB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.169, allocations: 198.4 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/1.17, allocations: 112.8 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/1.17, allocations: 0 / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.171, allocations: 233.8 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 3.076e-06/1.171, allocations: 0 / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002821/1.174, allocations: 0.489 MB / 1.229 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.174, allocations: 63.39 kB / 1.229 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/1.174, allocations: 445.8 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/1.174, allocations: 41.69 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/1.175, allocations: 97.44 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/1.175, allocations: 35.47 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.175, allocations: 145.3 kB / 1.23 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.175, allocations: 326.8 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/1.175, allocations: 139.9 kB / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/1.176, allocations: 193.4 kB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/1.176, allocations: 301.2 kB / 1.231 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.176, allocations: 0 / 1.231 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000927/1.177, allocations: 0.5225 MB / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/1.177, allocations: 96.88 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.177, allocations: 4 kB / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.177, allocations: 0 / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/1.177, allocations: 27.92 kB / 1.231 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.178, allocations: 7.984 kB / 1.231 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.178, allocations: 56.05 kB / 1.231 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/1.178, allocations: 55.98 kB / 1.232 GB, free: 7.16 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002756/1.178, allocations: 220.8 kB / 1.232 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/1.179, allocations: 39.53 kB / 1.232 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/1.179, allocations: 43.78 kB / 1.232 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.179, allocations: 0 / 1.232 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.179, allocations: 3.938 kB / 1.232 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/1.179, allocations: 248.4 kB / 1.232 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/1.179, allocations: 23.94 kB / 1.232 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/1.18, allocations: 31.95 kB / 1.232 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.18, allocations: 11.98 kB / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001828/1.181, allocations: 424.6 kB / 1.233 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001916/1.183, allocations: 0.5354 MB / 1.233 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000818/1.184, allocations: 123.8 kB / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000372/1.185, allocations: 319 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/1.185, allocations: 0 / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.186, allocations: 458.1 kB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001352/1.187, allocations: 0.9846 MB / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of Templates: time 0.01198/1.199, allocations: 5.53 MB / 1.24 GB, free: 14 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches