Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109 kB / 16.42 MB, free: 6.52 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.001428/0.001429, allocations: 192.3 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 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.203/2.203, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002775/1.024, allocations: 1.74 MB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00145/1.026, allocations: 0.6209 MB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/1.026, allocations: 1.062 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/1.026, allocations: 13.97 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/1.026, allocations: 33.22 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/1.027, allocations: 364.6 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007372/1.028, allocations: 0.633 MB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/1.028, allocations: 34.7 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/1.029, allocations: 311.2 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/1.029, allocations: 155.7 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/1.029, allocations: 41.12 kB / 1.093 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/1.029, allocations: 40.56 kB / 1.093 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/1.029, allocations: 129.1 kB / 1.093 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/1.03, allocations: 220.4 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/1.03, allocations: 0.5899 MB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.03, allocations: 0 / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.766e-06/1.03, allocations: 0.7188 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.555e-06/1.03, allocations: 0 / 1.093 GB, free: 2.812 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001392/1.032, allocations: 0.9118 MB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.032, allocations: 9.266 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/1.032, allocations: 52.52 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/1.032, allocations: 333.8 kB / 1.095 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/1.032, allocations: 23.27 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/1.033, allocations: 27.16 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.034, allocations: 235.7 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.034, allocations: 5.031 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/1.034, allocations: 9.562 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.034, allocations: 2.891 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/1.035, allocations: 111.9 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/1.036, allocations: 0.676 MB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.037, allocations: 186.3 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/1.038, allocations: 126.8 kB / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/1.038, allocations: 1.281 kB / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.039, allocations: 231.3 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/1.039, allocations: 1.125 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.00287/1.042, allocations: 0.4889 MB / 1.097 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.042, allocations: 62.75 kB / 1.097 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/1.043, allocations: 443.7 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/1.043, allocations: 41.12 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/1.043, allocations: 101.3 kB / 1.097 GB, free: 484 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/1.043, allocations: 36.55 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/1.043, allocations: 137 kB / 1.098 GB, free: 392 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/1.043, allocations: 330.7 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/1.044, allocations: 134.2 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.044, allocations: 197.7 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/1.044, allocations: 306.6 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.044, allocations: 1.094 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009638/1.045, allocations: 0.5148 MB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.046, allocations: 94.7 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.046, allocations: 5.156 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.046, allocations: 3.25 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.046, allocations: 27.97 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.046, allocations: 2.656 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/1.046, allocations: 54.84 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.046, allocations: 57.84 kB / 1.099 GB, free: 15.34 MB / 0.8731 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.0003041/1.047, allocations: 226.2 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/1.047, allocations: 37.33 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/1.047, allocations: 43.66 kB / 1.1 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.047, allocations: 0.75 kB / 1.1 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.047, allocations: 0 / 1.1 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/1.047, allocations: 241.9 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/1.047, allocations: 20.56 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/1.048, allocations: 32.95 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.048, allocations: 12.08 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001932/1.05, allocations: 421.7 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002003/1.052, allocations: 0.5312 MB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008664/1.053, allocations: 124.7 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004729/1.053, allocations: 322.9 kB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of Backend: time 1.763e-06/1.053, allocations: 0.5 kB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.054, allocations: 463.4 kB / 1.102 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001181/1.056, allocations: 0.9905 MB / 1.103 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01097/1.067, allocations: 5.532 MB / 1.108 GB, free: 12.35 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches