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.01039/0.01039, allocations: 100 kB / 15.73 MB, free: 6.008 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.00238/0.00238, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.496/1.496, allocations: 222.9 MB / 240.4 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.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 60.09 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9742/0.9758, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003241/0.9791, allocations: 1.735 MB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.9809, allocations: 0.6269 MB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.9811, allocations: 1.219 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.9813, allocations: 10.12 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.9815, allocations: 35.62 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.9828, allocations: 366.2 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000885/0.9837, allocations: 0.6327 MB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.9839, allocations: 26.92 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.9844, allocations: 310.9 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.9848, allocations: 159.4 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.9849, allocations: 44.97 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.985, allocations: 41.5 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.9852, allocations: 127.7 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.9855, allocations: 221.2 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009444/0.9865, allocations: 0.596 MB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9865, allocations: 0 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.956e-06/0.9865, allocations: 0 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9865, allocations: 0.6562 kB / 1.093 GB, free: 2.758 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.001548/0.9881, allocations: 0.9158 MB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.9881, allocations: 14.03 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.9883, allocations: 53.8 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.9888, allocations: 336.8 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.9889, allocations: 23.12 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.989, allocations: 31.3 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.9902, allocations: 231.9 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9903, allocations: 4.188 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.9903, allocations: 6.172 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.9903, allocations: 2.562 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.9912, allocations: 112.8 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.9929, allocations: 0.6768 MB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.9941, allocations: 181.5 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.995, allocations: 122.8 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.995, allocations: 6.812 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.9961, allocations: 225.8 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.557e-06/0.9961, allocations: 0 / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.003101/0.9992, allocations: 0.4919 MB / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.9993, allocations: 65.69 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/1, allocations: 445.6 kB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/1, allocations: 39.59 kB / 1.097 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/1, allocations: 101.7 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/1, allocations: 36.84 kB / 1.097 GB, free: 396 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/1.001, allocations: 137.7 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/1.001, allocations: 329.9 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/1.001, allocations: 134.9 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/1.001, allocations: 204 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/1.002, allocations: 299.5 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.002, allocations: 1 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001048/1.003, allocations: 0.52 MB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.003, allocations: 94.2 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.003, allocations: 5.609 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.003, allocations: 3.688 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/1.003, allocations: 19.81 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.003, allocations: 11.09 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/1.004, allocations: 54.08 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.004, allocations: 62.89 kB / 1.099 GB, free: 15.28 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.0005583/1.005, allocations: 222.1 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/1.005, allocations: 45.81 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/1.005, allocations: 46.16 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.005, allocations: 2.281 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.005, allocations: 3.938 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.005, allocations: 1.891 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/1.008, allocations: 0.7789 MB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.008, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/1.008, allocations: 12.91 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.008, allocations: 1.188 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/1.008, allocations: 19.05 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/1.008, allocations: 5.062 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.008, allocations: 0.6562 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.01, allocations: 481.9 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/1.011, allocations: 253.9 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/1.011, allocations: 16.2 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/1.011, allocations: 40.92 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/1.011, allocations: 7.797 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.011, allocations: 55.83 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007306/1.012, allocations: 319.3 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.012, allocations: 0.625 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009041/1.013, allocations: 67.34 kB / 1.101 GB, free: 14.08 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.0002837/1.013, allocations: 141.7 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00167/1.015, allocations: 467.6 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.015, allocations: 1.469 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/1.016, allocations: 126.3 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/1.017, allocations: 41.84 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/1.018, allocations: 0.6065 MB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/1.019, allocations: 0.7829 MB / 1.103 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.184e-05/1.019, allocations: 16.23 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/1.019, allocations: 20.48 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/1.019, allocations: 0 / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.01416/1.033, allocations: 5.426 MB / 1.108 GB, free: 11.71 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/jenkins/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