Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007982/0.007982, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001846/0.001846, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.321/2.321, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.86 kB / 0.9505 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2912, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002997/0.2942, allocations: 1.747 MB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2956, allocations: 0.6314 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.2957, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2958, allocations: 11.86 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.296, allocations: 31.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.2969, allocations: 357.6 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.2977, allocations: 0.636 MB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2978, allocations: 41.06 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.2984, allocations: 315.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2987, allocations: 151.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2989, allocations: 40 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.299, allocations: 40 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2991, allocations: 131.6 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.2993, allocations: 215 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3, allocations: 0.5917 MB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.3, allocations: 0 / 1.092 GB, free: 13.04 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.0016/0.3016, allocations: 0.9072 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3017, allocations: 12.03 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.3018, allocations: 42.67 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3019, allocations: 52.47 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.3024, allocations: 338.1 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.3025, allocations: 16.38 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.3026, allocations: 36.36 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.3036, allocations: 230 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3036, allocations: 3.938 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.3037, allocations: 7.938 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3037, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007849/0.3045, allocations: 119.9 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.306, allocations: 0.6681 MB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3071, allocations: 190.3 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/0.3078, allocations: 112.8 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.3079, allocations: 4 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/0.3088, allocations: 231.2 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.3089, allocations: 0 / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002635/0.3115, allocations: 0.489 MB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.3116, allocations: 67.33 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.3121, allocations: 441.9 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.3122, allocations: 37.7 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3123, allocations: 101.3 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3123, allocations: 47.53 kB / 1.096 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3126, allocations: 129.3 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3127, allocations: 330.8 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.313, allocations: 135.9 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.3133, allocations: 190.9 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.3138, allocations: 299.2 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3138, allocations: 4 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008588/0.3146, allocations: 0.5201 MB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.3147, allocations: 91.38 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3148, allocations: 4 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3148, allocations: 7.938 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3149, allocations: 23.91 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.315, allocations: 8 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.3154, allocations: 59.98 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/0.3155, allocations: 71.91 kB / 1.098 GB, free: 6.73 MB / 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.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.000256/0.3158, allocations: 212.3 kB / 1.098 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.3159, allocations: 35.53 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.316, allocations: 43.78 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.316, allocations: 4 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.316, allocations: 0 / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.316, allocations: 4 kB / 1.098 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.3184, allocations: 0.7852 MB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3184, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3185, allocations: 8 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3185, allocations: 4 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3185, allocations: 23.91 kB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3185, allocations: 4 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3185, allocations: 0 / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3203, allocations: 483.2 kB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.3206, allocations: 240.5 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.3207, allocations: 23.86 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.3212, allocations: 31.97 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.3212, allocations: 11.92 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.3213, allocations: 59.97 kB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003437/0.3217, allocations: 319.1 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3217, allocations: 4 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004228/0.3221, allocations: 67.98 kB / 1.1 GB, free: 4.297 MB / 0.8575 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.002118/0.3242, allocations: 1.052 MB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.3256, allocations: 478.7 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3256, allocations: 4.062 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/0.3264, allocations: 119.9 kB / 1.102 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3268, allocations: 44.02 kB / 1.102 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.3314, allocations: 3.013 MB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3318, allocations: 0.7825 MB / 1.106 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.817e-05/0.3319, allocations: 9.438 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.332, allocations: 38.8 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 1.232e-06/0.332, allocations: 0 / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.3583, allocations: 6.837 MB / 1.112 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.035, allocations: 7 kB / 1.112 GB, free: 7.777 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches