Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008953/0.008953, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001366/0.001366, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.4 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.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.9508 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9827/0.984, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002984/0.987, allocations: 1.514 MB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.9884, allocations: 0.5547 MB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.9885, allocations: 0 / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.9886, allocations: 10.91 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.9887, allocations: 21.81 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.9898, allocations: 315.8 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.9905, allocations: 0.5023 MB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.9906, allocations: 9.797 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.9911, allocations: 272.3 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.9914, allocations: 141 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.9915, allocations: 27.16 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.9916, allocations: 26.81 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.9919, allocations: 114.4 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.9922, allocations: 185.3 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.9929, allocations: 423.4 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.9929, allocations: 7.938 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.456e-06/0.993, allocations: 1.453 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.993, allocations: 0 / 1.092 GB, free: 3.324 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001641/0.9946, allocations: 0.8624 MB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.9947, allocations: 10.66 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.9949, allocations: 47.23 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.9953, allocations: 308.8 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.9954, allocations: 21.52 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.9955, allocations: 28.62 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.9966, allocations: 217.4 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9966, allocations: 192 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.9966, allocations: 5.406 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.9966, allocations: 6 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/0.9974, allocations: 100.7 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.9981, allocations: 391.4 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9991, allocations: 171.2 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.9998, allocations: 112.3 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.9998, allocations: 6.938 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/1.001, allocations: 230.9 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/1.001, allocations: 0.75 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002642/1.004, allocations: 489 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.004, allocations: 57.91 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/1.004, allocations: 411.4 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/1.004, allocations: 43.2 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/1.004, allocations: 95.66 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.004, allocations: 40.86 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/1.005, allocations: 124 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/1.005, allocations: 330 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/1.005, allocations: 115.5 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.005, allocations: 174 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/1.006, allocations: 275.2 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.006, allocations: 1.156 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009202/1.007, allocations: 496.2 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/1.007, allocations: 96.81 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.007, allocations: 1.75 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.007, allocations: 3.281 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/1.007, allocations: 19.23 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.007, allocations: 7.125 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.008, allocations: 59.27 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.008, allocations: 61.28 kB / 1.097 GB, free: 228 kB / 0.8575 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002692/1.008, allocations: 197.2 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/1.008, allocations: 41.48 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/1.008, allocations: 42.14 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.008, allocations: 2.156 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.008, allocations: 5 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.008, allocations: 0.5156 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/1.011, allocations: 0.7405 MB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.011, allocations: 0 / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/1.011, allocations: 9.844 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.011, allocations: 1.125 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.011, allocations: 22.64 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/1.011, allocations: 4 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.011, allocations: 5.031 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.013, allocations: 476.4 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/1.013, allocations: 200.6 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/1.013, allocations: 10.53 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.013, allocations: 28.52 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/1.014, allocations: 11.3 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.014, allocations: 56.08 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000426/1.014, allocations: 295 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.61e-07/1.014, allocations: 0 / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004956/1.015, allocations: 68.75 kB / 1.099 GB, free: 15.12 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0002239/1.015, allocations: 123 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.016, allocations: 437 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.016, allocations: 4.312 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008097/1.017, allocations: 125.6 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/1.018, allocations: 37.62 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.019, allocations: 0.5437 MB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/1.02, allocations: 0.7755 MB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.952e-05/1.02, allocations: 11.78 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/1.02, allocations: 19.28 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/1.02, allocations: 0 / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.01205/1.032, allocations: 4.932 MB / 1.106 GB, free: 12.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches