Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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.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_9_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.00175/0.00175, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.00171/0.00171, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.593/1.593, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.573/2.573, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9946, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002849/0.9975, allocations: 1.508 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.9988, allocations: 0.5556 MB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.9989, allocations: 4 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.999, allocations: 6.922 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.9992, allocations: 29.98 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/1, allocations: 313 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009828/1.001, allocations: 0.4964 MB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/1.001, allocations: 9.797 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/1.002, allocations: 274.1 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/1.002, allocations: 144.5 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/1.002, allocations: 31.17 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/1.002, allocations: 26.22 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/1.003, allocations: 115.3 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/1.003, allocations: 186 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007455/1.004, allocations: 418.1 kB / 1.093 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.004, allocations: 0.7188 kB / 1.093 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.004, allocations: 0 / 1.093 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.004, allocations: 1 kB / 1.093 GB, free: 3.305 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.001947/1.006, allocations: 0.8724 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.376e-05/1.006, allocations: 8.594 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/1.006, allocations: 47.89 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/1.007, allocations: 312.7 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/1.007, allocations: 21.55 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.007, allocations: 25.36 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/1.008, allocations: 220.2 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.008, allocations: 192 / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/1.008, allocations: 7.125 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.008, allocations: 1.812 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/1.009, allocations: 96.23 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/1.01, allocations: 390.7 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.011, allocations: 175.8 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000929/1.012, allocations: 112.5 kB / 1.095 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/1.012, allocations: 1.781 kB / 1.095 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/1.013, allocations: 227.6 kB / 1.095 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.717e-06/1.013, allocations: 0 / 1.095 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.003379/1.017, allocations: 489.9 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.017, allocations: 65.42 kB / 1.096 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/1.017, allocations: 411.6 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/1.018, allocations: 40.67 kB / 1.096 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/1.018, allocations: 94.22 kB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/1.018, allocations: 37.17 kB / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.018, allocations: 124.4 kB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/1.018, allocations: 324.8 kB / 1.097 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/1.018, allocations: 116.9 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/1.019, allocations: 176 kB / 1.097 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/1.019, allocations: 280.9 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.019, allocations: 0 / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001108/1.02, allocations: 491.4 kB / 1.098 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.02, allocations: 87.88 kB / 1.098 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.02, allocations: 10.58 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/1.02, allocations: 2.062 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/1.021, allocations: 28.5 kB / 1.098 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.021, allocations: 3.062 kB / 1.098 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/1.021, allocations: 58.22 kB / 1.098 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.021, allocations: 65.97 kB / 1.098 GB, free: 200 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.0002666/1.022, allocations: 194.7 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/1.022, allocations: 42.11 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/1.022, allocations: 45.62 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.022, allocations: 0.5156 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.022, allocations: 1.5 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.022, allocations: 200.1 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/1.022, allocations: 18.3 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.023, allocations: 28.64 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.023, allocations: 7.875 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00199/1.025, allocations: 425.5 kB / 1.099 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002074/1.027, allocations: 0.5437 MB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008588/1.028, allocations: 113.2 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000415/1.028, allocations: 301.7 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/1.028, allocations: 1.062 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001087/1.029, allocations: 416 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001165/1.031, allocations: 0.9313 MB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.01139/1.042, allocations: 5.034 MB / 1.106 GB, free: 13.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches