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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0013/0.001299, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001912/0.001912, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.9 MB / 0.666 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 12 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.8684, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001638/0.8701, allocations: 1.211 MB / 0.9556 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.8713, allocations: 0.5216 MB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.8714, allocations: 5.188 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.146e-05/0.8715, allocations: 15.86 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.8717, allocations: 24.17 kB / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.8727, allocations: 254.1 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.8732, allocations: 382.5 kB / 0.9568 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.417e-05/0.8733, allocations: 13.34 kB / 0.9568 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005758/0.8739, allocations: 324.2 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.8742, allocations: 180.3 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.8743, allocations: 13.94 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.8744, allocations: 13.34 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.8746, allocations: 122.5 kB / 0.9574 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.8747, allocations: 94.05 kB / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.875, allocations: 311.5 kB / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.875, allocations: 0 / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.875, allocations: 0 / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.8751, allocations: 0 / 0.9578 GB, free: 5.438 MB / 0.7169 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.001162/0.8762, allocations: 0.7572 MB / 0.9585 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.8763, allocations: 9.625 kB / 0.9585 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.8766, allocations: 57.72 kB / 0.9586 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.8771, allocations: 289.6 kB / 0.9589 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.8771, allocations: 17.56 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.8772, allocations: 29.98 kB / 0.9589 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.8782, allocations: 223 kB / 0.9591 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8782, allocations: 4 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.8783, allocations: 1.375 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8783, allocations: 1.375 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.879, allocations: 112.8 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.8795, allocations: 395.9 kB / 0.9596 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/0.8805, allocations: 194.1 kB / 0.9598 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.8812, allocations: 124.8 kB / 0.9599 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.8812, allocations: 2.031 kB / 0.9599 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.8821, allocations: 231.4 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.315e-06/0.8821, allocations: 1.125 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002449/0.8846, allocations: 0.5024 MB / 0.9606 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.8846, allocations: 68.45 kB / 0.9607 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.8851, allocations: 406.5 kB / 0.9611 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.8852, allocations: 41.06 kB / 0.9611 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.8852, allocations: 96.23 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.8853, allocations: 45.34 kB / 0.9613 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.8853, allocations: 13.92 kB / 0.9613 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.8854, allocations: 321.5 kB / 0.9616 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.8856, allocations: 121.4 kB / 0.9617 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.8859, allocations: 165.8 kB / 0.9619 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.8862, allocations: 194.9 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8862, allocations: 0.875 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000846/0.8871, allocations: 495.2 kB / 0.9625 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.8872, allocations: 92.66 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8872, allocations: 1.344 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8872, allocations: 2.406 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.8874, allocations: 30.84 kB / 0.9626 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8874, allocations: 2.812 kB / 0.9626 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.8879, allocations: 73.64 kB / 0.9627 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/0.888, allocations: 57.58 kB / 0.9628 GB, free: 1.844 MB / 0.7169 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.8883, allocations: 201.6 kB / 0.963 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.8884, allocations: 35.91 kB / 0.963 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.8884, allocations: 40.59 kB / 0.963 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.8885, allocations: 1.688 kB / 0.963 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8885, allocations: 0 / 0.963 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8885, allocations: 9.016 kB / 0.963 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.8906, allocations: 0.7647 MB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8906, allocations: 0 / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.8907, allocations: 3.719 kB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.8907, allocations: 1.031 kB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.8907, allocations: 24.38 kB / 0.9638 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8908, allocations: 0.9688 kB / 0.9638 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8908, allocations: 4 kB / 0.9638 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8924, allocations: 495.6 kB / 0.9643 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.8927, allocations: 200 kB / 0.9645 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.8927, allocations: 9.219 kB / 0.9645 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.8932, allocations: 43.58 kB / 0.9645 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.8932, allocations: 12.42 kB / 0.9645 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.8933, allocations: 57.48 kB / 0.9646 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003062/0.8936, allocations: 290.8 kB / 0.9649 GB, free: 444 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8936, allocations: 0 / 0.9649 GB, free: 444 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004437/0.8941, allocations: 66.73 kB / 0.9649 GB, free: 436 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.8943, allocations: 118.8 kB / 0.9651 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.8955, allocations: 454.1 kB / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8955, allocations: 1.375 kB / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.8962, allocations: 133.9 kB / 0.9656 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.8966, allocations: 29.02 kB / 0.9656 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.8982, allocations: 0.6542 MB / 0.9663 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.8986, allocations: 0.7754 MB / 0.967 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.8987, allocations: 15.98 kB / 0.9671 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.8988, allocations: 18.5 kB / 0.9671 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.8988, allocations: 0 / 0.9671 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.01162/0.9104, allocations: 4.826 MB / 0.9718 GB, free: 12.11 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches