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.001142/0.001142, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.001179/0.001179, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8112, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002885/0.8142, allocations: 1.732 MB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.8155, allocations: 0.6269 MB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.8156, allocations: 0 / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.8157, allocations: 19 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.8159, allocations: 35 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.8168, allocations: 355.1 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.8175, allocations: 0.633 MB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.8177, allocations: 30.56 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.8181, allocations: 314.8 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.8185, allocations: 160.7 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.8186, allocations: 41.22 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.8187, allocations: 41.5 kB / 1.093 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.8189, allocations: 127.8 kB / 1.093 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.8191, allocations: 217.2 kB / 1.093 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.8198, allocations: 0.5973 MB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8199, allocations: 3.938 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8199, allocations: 0.6875 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.8199, allocations: 0 / 1.093 GB, free: 2.797 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.001275/0.8212, allocations: 0.9045 MB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8212, allocations: 9.812 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.8214, allocations: 53.16 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.8218, allocations: 332.2 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.8218, allocations: 20 kB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.8219, allocations: 30.42 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.8231, allocations: 239.8 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8231, allocations: 0.9375 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.8231, allocations: 6.641 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8231, allocations: 1.5 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.824, allocations: 113 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.8254, allocations: 0.6762 MB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.8266, allocations: 177.9 kB / 1.096 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.8275, allocations: 121.9 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.8275, allocations: 2.641 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.8286, allocations: 237.8 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.8286, allocations: 3.984 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002959/0.8316, allocations: 499.3 kB / 1.097 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.8317, allocations: 61.58 kB / 1.097 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.8322, allocations: 440.2 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.8323, allocations: 44.61 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.8324, allocations: 105.7 kB / 1.097 GB, free: 480 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.8325, allocations: 33.33 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.8327, allocations: 132.7 kB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.8328, allocations: 335.2 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.8331, allocations: 133.5 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.8335, allocations: 188.8 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.8339, allocations: 311.1 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8339, allocations: 0.9375 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009849/0.8349, allocations: 0.5122 MB / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.835, allocations: 102.7 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8351, allocations: 2.312 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8351, allocations: 2.375 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.8353, allocations: 23.95 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.8353, allocations: 2.891 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.8358, allocations: 54.73 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.836, allocations: 65.2 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.0003197/0.8363, allocations: 222.9 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.8364, allocations: 46.23 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/0.8364, allocations: 37.3 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8365, allocations: 2.953 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8365, allocations: 0 / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8365, allocations: 1.281 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.8389, allocations: 0.7931 MB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8389, allocations: 0 / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.839, allocations: 5.906 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.839, allocations: 1.031 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.8391, allocations: 21.72 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8391, allocations: 5.719 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8391, allocations: 8.875 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.841, allocations: 471.7 kB / 1.101 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.8414, allocations: 252.5 kB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.8415, allocations: 17.19 kB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.842, allocations: 32.59 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.842, allocations: 12.09 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8422, allocations: 59.47 kB / 1.101 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004963/0.8427, allocations: 319.3 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8427, allocations: 0.5625 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005902/0.8433, allocations: 67.03 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002192/0.8435, allocations: 135.7 kB / 1.102 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.8449, allocations: 467.2 kB / 1.102 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.845, allocations: 2 kB / 1.102 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.8458, allocations: 133.8 kB / 1.102 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.8462, allocations: 37.03 kB / 1.102 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.8479, allocations: 0.6495 MB / 1.103 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.8483, allocations: 0.7912 MB / 1.104 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.8484, allocations: 17.25 kB / 1.104 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8484, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.009449/0.8579, allocations: 4.083 MB / 1.108 GB, free: 12.09 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