Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.007744/0.007744, allocations: 104.8 kB / 15.74 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.001724/0.001724, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.688/2.688, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 151.6 MB / 1.166 GB, free: 7.465 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002736/0.3024, allocations: 1.508 MB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3038, allocations: 0.5422 MB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.3039, allocations: 7.938 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.304, allocations: 7.922 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3041, allocations: 23.66 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.3049, allocations: 324.1 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000655/0.3056, allocations: 0.5033 MB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.3057, allocations: 7.984 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.3062, allocations: 279.6 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.3066, allocations: 135.7 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3067, allocations: 28 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3068, allocations: 24 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.307, allocations: 123.6 kB / 1.17 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.3072, allocations: 179.1 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3077, allocations: 422.4 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3077, allocations: 4 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3077, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3077, allocations: 0 / 1.17 GB, free: 3.363 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.001404/0.3091, allocations: 0.8664 MB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3092, allocations: 8.031 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.3093, allocations: 42.73 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3094, allocations: 52.47 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.3098, allocations: 314.2 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.3099, allocations: 20.36 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.31, allocations: 24.36 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.3109, allocations: 209.4 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3109, allocations: 3.938 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.311, allocations: 4 kB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.311, allocations: 8 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.3117, allocations: 99.91 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.3122, allocations: 389.2 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/0.3132, allocations: 178.5 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.3139, allocations: 109 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3139, allocations: 4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009269/0.3149, allocations: 235 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.3149, allocations: 0 / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002466/0.3174, allocations: 494.3 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3174, allocations: 55.41 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.3179, allocations: 409.9 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.3179, allocations: 41.69 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.318, allocations: 105.3 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3181, allocations: 39.53 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.3183, allocations: 125.3 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3184, allocations: 318.8 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.3187, allocations: 115.9 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.319, allocations: 170.9 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.3194, allocations: 283.4 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3195, allocations: 0 / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008469/0.3203, allocations: 488.6 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.3204, allocations: 91.31 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3204, allocations: 4 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3205, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3206, allocations: 23.92 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3207, allocations: 7.984 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.3212, allocations: 56.05 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.3213, allocations: 55.98 kB / 1.175 GB, free: 13.66 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.0002391/0.3215, allocations: 203.9 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.3216, allocations: 39.47 kB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.3217, allocations: 39.73 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3217, allocations: 4 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3217, allocations: 4 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3217, allocations: 4 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.3239, allocations: 0.7481 MB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3239, allocations: 0 / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.3239, allocations: 8 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.324, allocations: 4 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.324, allocations: 23.97 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.324, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.324, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.3257, allocations: 477.5 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.326, allocations: 200.4 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.3261, allocations: 16 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.3266, allocations: 23.97 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3266, allocations: 11.98 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.3267, allocations: 59.97 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000286/0.327, allocations: 299.1 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.327, allocations: 3.938 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003696/0.3274, allocations: 63.98 kB / 1.177 GB, free: 11.36 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.001973/0.3293, allocations: 1.02 MB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.3306, allocations: 442.7 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3306, allocations: 0 / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.3314, allocations: 119.9 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3317, allocations: 29.34 kB / 1.179 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.3359, allocations: 2.79 MB / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3362, allocations: 0.7745 MB / 1.183 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.3363, allocations: 13.08 kB / 1.183 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.3364, allocations: 19.42 kB / 1.183 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.3364, allocations: 4 kB / 1.183 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.36, allocations: 6.127 MB / 1.189 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.047, allocations: 8.047 kB / 1.189 GB, free: 15.82 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches