Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 102 kB / 16.27 MB, free: 5.906 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.001599/0.001598, allocations: 191.9 kB / 17.2 MB, free: 5.539 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 65.16 kB / 0.9092 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.406, allocations: 159.1 MB / 1.065 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003153/0.4092, allocations: 1.518 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4106, allocations: 0.5383 MB / 1.067 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.4107, allocations: 4 kB / 1.067 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.4108, allocations: 15.86 kB / 1.067 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.4109, allocations: 31.78 kB / 1.067 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.4117, allocations: 310.3 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.4123, allocations: 0.4994 MB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.4124, allocations: 4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.4127, allocations: 267.7 kB / 1.068 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.413, allocations: 143.5 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4131, allocations: 28 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.4132, allocations: 28 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.4134, allocations: 115.7 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.4136, allocations: 191 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.4141, allocations: 422.9 kB / 1.069 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4141, allocations: 4 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4141, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.4141, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8419 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.001367/0.4155, allocations: 0.8626 MB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.4155, allocations: 8.031 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.4157, allocations: 52.47 kB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.4161, allocations: 314.2 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.4162, allocations: 16.36 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.4163, allocations: 32.36 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.4173, allocations: 213.9 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4173, allocations: 192 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.4173, allocations: 7.938 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4173, allocations: 4 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.4181, allocations: 95.91 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.4186, allocations: 393.2 kB / 1.071 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4197, allocations: 178.5 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.4204, allocations: 112.8 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4205, allocations: 4 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009999/0.4215, allocations: 219.1 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.4215, allocations: 3.938 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002611/0.4241, allocations: 488.8 kB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.4242, allocations: 63.39 kB / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.4247, allocations: 417.9 kB / 1.072 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.4247, allocations: 37.7 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.4248, allocations: 93.44 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.4249, allocations: 43.39 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4251, allocations: 125.3 kB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4253, allocations: 322.8 kB / 1.073 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4255, allocations: 127.9 kB / 1.073 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4258, allocations: 176.9 kB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.4263, allocations: 275 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4263, allocations: 0 / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008484/0.4271, allocations: 498 kB / 1.074 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.4272, allocations: 91.31 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4273, allocations: 4 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4273, allocations: 3.984 kB / 1.074 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4275, allocations: 24.11 kB / 1.074 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4275, allocations: 8 kB / 1.074 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.428, allocations: 59.73 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4281, allocations: 63.97 kB / 1.074 GB, free: 5.035 MB / 0.8419 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.0002413/0.4284, allocations: 192 kB / 1.074 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.4284, allocations: 43.47 kB / 1.074 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.4285, allocations: 39.75 kB / 1.074 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4285, allocations: 7.984 kB / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4285, allocations: 0 / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4285, allocations: 0 / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.4308, allocations: 0.7441 MB / 1.075 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4308, allocations: 4 kB / 1.075 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.4309, allocations: 4 kB / 1.075 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4309, allocations: 3.984 kB / 1.075 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.4309, allocations: 15.98 kB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4309, allocations: 0 / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4309, allocations: 4 kB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4327, allocations: 481 kB / 1.075 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.433, allocations: 196.5 kB / 1.075 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.433, allocations: 15.98 kB / 1.076 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.4335, allocations: 31.97 kB / 1.076 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4336, allocations: 11.98 kB / 1.076 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.4336, allocations: 51.98 kB / 1.076 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003227/0.434, allocations: 299 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.434, allocations: 0 / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003721/0.4344, allocations: 67.98 kB / 1.076 GB, free: 2.754 MB / 0.8419 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.0001847/0.4345, allocations: 126.1 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.4359, allocations: 450.4 kB / 1.076 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4359, allocations: 0 / 1.076 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.4367, allocations: 120.2 kB / 1.077 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.4371, allocations: 31.83 kB / 1.077 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.4387, allocations: 0.5918 MB / 1.077 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4392, allocations: 0.7708 MB / 1.078 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.4392, allocations: 15.44 kB / 1.078 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4392, allocations: 0 / 1.078 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of Templates: time 0.6027/1.042, allocations: 3.679 MB / 1.082 GB, free: 21.38 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches