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.001656/0.001656, 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.002307/0.002307, 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.436/1.436, 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.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 67.84 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004074/1.138, allocations: 1.743 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001638/1.14, allocations: 0.6207 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/1.14, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/1.14, allocations: 15.8 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/1.14, allocations: 35.78 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/1.141, allocations: 366.5 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009285/1.142, allocations: 0.6399 MB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/1.142, allocations: 29.11 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/1.143, allocations: 307.6 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/1.144, allocations: 167.3 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/1.144, allocations: 40 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/1.144, allocations: 40 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/1.144, allocations: 127.7 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/1.144, allocations: 215 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007336/1.145, allocations: 0.5975 MB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.145, allocations: 0 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.908e-06/1.145, allocations: 0 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.842e-06/1.145, allocations: 3.938 kB / 1.213 GB, free: 8.652 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001565/1.147, allocations: 0.9054 MB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.147, allocations: 12.02 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/1.147, allocations: 52.47 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/1.147, allocations: 330.2 kB / 1.215 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/1.147, allocations: 20.36 kB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/1.147, allocations: 32.36 kB / 1.215 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.149, allocations: 239.2 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.149, allocations: 8.172 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/1.149, allocations: 7.938 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.149, allocations: 3.938 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/1.15, allocations: 111.9 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/1.151, allocations: 0.6759 MB / 1.216 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.152, allocations: 174.5 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008637/1.153, allocations: 116.8 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/1.153, allocations: 4 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/1.154, allocations: 237.7 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/1.154, allocations: 4 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002838/1.157, allocations: 496.8 kB / 1.217 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.157, allocations: 67.39 kB / 1.217 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/1.158, allocations: 441.9 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/1.158, allocations: 41.69 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.158, allocations: 101.3 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.158, allocations: 39.55 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.158, allocations: 133.2 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.159, allocations: 330.8 kB / 1.218 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/1.159, allocations: 135.9 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/1.159, allocations: 191.2 kB / 1.218 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/1.16, allocations: 303.6 kB / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.16, allocations: 0 / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008832/1.161, allocations: 0.5164 MB / 1.219 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/1.161, allocations: 91.38 kB / 1.219 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.161, allocations: 4 kB / 1.219 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.161, allocations: 8.188 kB / 1.219 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.161, allocations: 19.92 kB / 1.219 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.161, allocations: 7.984 kB / 1.219 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/1.162, allocations: 51.86 kB / 1.219 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.162, allocations: 59.98 kB / 1.219 GB, free: 2.418 MB / 0.9356 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.0002593/1.162, allocations: 236.2 kB / 1.219 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/1.162, allocations: 39.52 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/1.162, allocations: 35.8 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.162, allocations: 3.938 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.162, allocations: 0 / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/1.162, allocations: 244.5 kB / 1.22 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/1.163, allocations: 19.94 kB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/1.163, allocations: 35.95 kB / 1.22 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.163, allocations: 11.94 kB / 1.22 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001907/1.165, allocations: 427.2 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002003/1.167, allocations: 0.5332 MB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008152/1.168, allocations: 123.8 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003237/1.168, allocations: 323 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/1.168, allocations: 0 / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.169, allocations: 452.9 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001528/1.171, allocations: 0.9859 MB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.01267/1.183, allocations: 5.531 MB / 1.228 GB, free: 9.25 MB / 0.9512 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