Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_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.008363/0.008362, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.002514/0.002515, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2983, allocations: 151.6 MB / 1.166 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002763/0.3011, allocations: 1.512 MB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3026, allocations: 0.5461 MB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.3027, allocations: 4 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3028, allocations: 11.86 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3029, allocations: 27.64 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.3038, allocations: 318.9 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000578/0.3044, allocations: 0.5033 MB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.3045, allocations: 11.97 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.3049, allocations: 271.6 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.3053, allocations: 139.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3054, allocations: 28 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3055, allocations: 24 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.3057, allocations: 119.6 kB / 1.17 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3059, allocations: 183.1 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.3063, allocations: 422.4 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3063, allocations: 4 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3063, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3063, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 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.001274/0.3076, allocations: 0.8703 MB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3077, allocations: 8.031 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.3077, allocations: 38.75 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3079, allocations: 48.47 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3082, allocations: 318.2 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3083, allocations: 20.36 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.3084, allocations: 28.36 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.3093, allocations: 206 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3093, allocations: 7.938 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3094, allocations: 3.984 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3094, allocations: 4 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.3101, allocations: 103.9 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3105, allocations: 385.2 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.3115, allocations: 178.6 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.3122, allocations: 109 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3123, allocations: 7.984 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009076/0.3132, allocations: 227.1 kB / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.3132, allocations: 0 / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002436/0.3156, allocations: 490 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3157, allocations: 59.41 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.3161, allocations: 417.8 kB / 1.174 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.3162, allocations: 37.7 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3163, allocations: 97.34 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.3164, allocations: 43.53 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.3166, allocations: 129.3 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3168, allocations: 318.8 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.317, allocations: 115.9 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.3174, allocations: 169.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.3178, allocations: 287.2 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3178, allocations: 0 / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008381/0.3186, allocations: 488.6 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.3187, allocations: 87.31 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3187, allocations: 4 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3188, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.319, allocations: 31.91 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.319, allocations: 4 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.3195, allocations: 56.05 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.3196, allocations: 55.98 kB / 1.175 GB, free: 13.64 MB / 0.9356 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.0002276/0.3198, allocations: 199.9 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.3199, allocations: 43.45 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.32, allocations: 39.75 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.32, allocations: 4 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.32, allocations: 0 / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.32, allocations: 4 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3222, allocations: 0.7499 MB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3222, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.3222, allocations: 4 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3222, allocations: 8 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.3223, allocations: 23.97 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3223, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3223, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3239, allocations: 475.2 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.3242, allocations: 200.4 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.3243, allocations: 16 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.3247, allocations: 27.97 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3248, allocations: 11.98 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.3249, allocations: 59.97 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002722/0.3251, allocations: 299.1 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/0.3251, allocations: 0 / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003915/0.3255, allocations: 63.98 kB / 1.178 GB, free: 11.35 MB / 0.9356 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.001932/0.3275, allocations: 1.025 MB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.3288, allocations: 442.4 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3288, allocations: 4.375 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009746/0.3298, allocations: 118.2 kB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3302, allocations: 25.55 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.3344, allocations: 2.785 MB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3347, allocations: 0.7745 MB / 1.183 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.693e-05/0.3348, allocations: 13.08 kB / 1.183 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.3348, allocations: 23.42 kB / 1.183 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3348, allocations: 0 / 1.183 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.3615, allocations: 6.127 MB / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.322, allocations: 4.062 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches