Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.005095/0.005095, allocations: 96.62 kB / 15.73 MB, free: 6.004 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.00151/0.001511, allocations: 185.4 kB / 16.67 MB, free: 5.938 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 61.42 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3091, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002546/0.3117, allocations: 1.526 MB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3129, allocations: 0.5475 MB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.313, allocations: 0 / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.298e-05/0.3131, allocations: 3.938 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3132, allocations: 35.78 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.3139, allocations: 306.7 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.3145, allocations: 0.5033 MB / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3145, allocations: 11.97 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.3149, allocations: 275.6 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.3151, allocations: 145.5 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.3152, allocations: 32 kB / 1.245 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.3153, allocations: 24 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3155, allocations: 123.5 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3157, allocations: 183.1 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.3161, allocations: 418.7 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3161, allocations: 0 / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3161, allocations: 0 / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3161, allocations: 4 kB / 1.246 GB, free: 4.82 MB / 0.9669 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.001199/0.3173, allocations: 0.8874 MB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3174, allocations: 8.031 kB / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3174, allocations: 38.75 kB / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3175, allocations: 52.69 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.3179, allocations: 318.5 kB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.3179, allocations: 12.38 kB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.318, allocations: 28.36 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.319, allocations: 214 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.319, allocations: 7.922 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.319, allocations: 4 kB / 1.247 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.319, allocations: 4 kB / 1.247 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.3198, allocations: 95.92 kB / 1.247 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3202, allocations: 389.2 kB / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3213, allocations: 182.4 kB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.322, allocations: 108.8 kB / 1.248 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3221, allocations: 4 kB / 1.248 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009364/0.323, allocations: 223.1 kB / 1.248 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.323, allocations: 0 / 1.248 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002519/0.3255, allocations: 489 kB / 1.249 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3256, allocations: 59.39 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.326, allocations: 421.9 kB / 1.249 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.3261, allocations: 37.7 kB / 1.249 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.3262, allocations: 93.44 kB / 1.249 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.3262, allocations: 43.62 kB / 1.249 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3264, allocations: 125.5 kB / 1.25 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3266, allocations: 322.8 kB / 1.25 GB, free: 468 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.3268, allocations: 115.9 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.3271, allocations: 177.9 kB / 1.25 GB, free: 152 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.3275, allocations: 279.2 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3275, allocations: 4 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007945/0.3283, allocations: 484.7 kB / 1.251 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.3284, allocations: 91.31 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3284, allocations: 0 / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3284, allocations: 4 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3286, allocations: 27.91 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3286, allocations: 4.188 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.3291, allocations: 63.78 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.3292, allocations: 63.89 kB / 1.251 GB, free: 15.09 MB / 0.9825 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.0002213/0.3294, allocations: 203.9 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.3295, allocations: 43.66 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.3295, allocations: 39.75 kB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3295, allocations: 0 / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3296, allocations: 4 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3296, allocations: 3.984 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.3317, allocations: 0.7501 MB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3317, allocations: 0 / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.3318, allocations: 4 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3318, allocations: 4 kB / 1.252 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.3318, allocations: 19.97 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3319, allocations: 4 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3319, allocations: 0 / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.3336, allocations: 479.4 kB / 1.253 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.3339, allocations: 196.7 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.3339, allocations: 12 kB / 1.253 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.3344, allocations: 35.95 kB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3344, allocations: 4 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.3345, allocations: 63.97 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003174/0.3348, allocations: 295.1 kB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 0 / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003717/0.3352, allocations: 63.98 kB / 1.253 GB, free: 12.79 MB / 0.9825 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.002068/0.3373, allocations: 1.034 MB / 1.254 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.3386, allocations: 440.9 kB / 1.255 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3386, allocations: 0 / 1.255 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.3394, allocations: 111.9 kB / 1.255 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.3397, allocations: 25.55 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.3438, allocations: 2.792 MB / 1.258 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3442, allocations: 0.7708 MB / 1.258 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.671e-05/0.3443, allocations: 13.09 kB / 1.258 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.3443, allocations: 23.42 kB / 1.258 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3444, allocations: 0 / 1.258 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.468/0.8124, allocations: 6.121 MB / 1.264 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/9.276, allocations: 12.41 kB / 1.264 GB, free: 1.266 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)