Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001415/0.001415, 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 71.88 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003205/1.019, allocations: 1.745 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001526/1.021, allocations: 0.6189 MB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/1.021, allocations: 0 / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/1.021, allocations: 14.27 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/1.021, allocations: 32.72 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/1.022, allocations: 366.6 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007974/1.023, allocations: 0.6329 MB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.023, allocations: 30.58 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/1.024, allocations: 314.6 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/1.024, allocations: 161.9 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/1.024, allocations: 40.09 kB / 1.093 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/1.024, allocations: 40.94 kB / 1.093 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/1.024, allocations: 125.3 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/1.025, allocations: 220.1 kB / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009642/1.026, allocations: 0.593 MB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.026, allocations: 5.125 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/1.026, allocations: 0 / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.026, allocations: 0 / 1.093 GB, free: 2.789 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.001518/1.027, allocations: 0.9043 MB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.027, allocations: 9.422 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/1.028, allocations: 52.98 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/1.028, allocations: 340.3 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/1.028, allocations: 19.44 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.028, allocations: 30.88 kB / 1.095 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.029, allocations: 232.4 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.03, allocations: 192 / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/1.03, allocations: 11.59 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.03, allocations: 1.938 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/1.03, allocations: 113.2 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/1.032, allocations: 0.6796 MB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/1.033, allocations: 181.6 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/1.034, allocations: 118.3 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/1.034, allocations: 1.953 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/1.035, allocations: 230.7 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/1.035, allocations: 4 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002927/1.038, allocations: 498.4 kB / 1.097 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.038, allocations: 65.56 kB / 1.097 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/1.039, allocations: 444.7 kB / 1.097 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/1.039, allocations: 40.72 kB / 1.097 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/1.039, allocations: 105.5 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/1.039, allocations: 32.78 kB / 1.097 GB, free: 444 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.039, allocations: 137.5 kB / 1.098 GB, free: 380 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/1.04, allocations: 324.6 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/1.04, allocations: 139.9 kB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/1.04, allocations: 197.1 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/1.041, allocations: 302.8 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.041, allocations: 1.312 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001024/1.042, allocations: 0.5176 MB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.042, allocations: 98.72 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.042, allocations: 1.844 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.042, allocations: 6.531 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/1.042, allocations: 23.44 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.042, allocations: 3.156 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/1.043, allocations: 54.75 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.043, allocations: 57.75 kB / 1.099 GB, free: 15.33 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.0002995/1.043, allocations: 226 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/1.043, allocations: 37.61 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/1.043, allocations: 42.53 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.043, allocations: 2.109 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.043, allocations: 0 / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/1.044, allocations: 246.8 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/1.044, allocations: 20.16 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/1.044, allocations: 29.69 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/1.044, allocations: 14.66 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001944/1.046, allocations: 422.4 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002005/1.048, allocations: 0.5379 MB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008568/1.049, allocations: 121.8 kB / 1.101 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004989/1.05, allocations: 322.5 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of Backend: time 5.91e-07/1.05, allocations: 3.938 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.051, allocations: 452.1 kB / 1.102 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001304/1.052, allocations: 0.9883 MB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.01328/1.066, allocations: 5.53 MB / 1.108 GB, free: 12.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches