Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_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.00479/0.00479, allocations: 101.9 kB / 15.74 MB, free: 6.043 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.001176/0.001175, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.469/2.469, allocations: 437.1 MB / 0.7106 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 63.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002384/0.2855, allocations: 1.51 MB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2867, allocations: 0.5539 MB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.2868, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.267e-05/0.2869, allocations: 3.938 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.287, allocations: 31.58 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.2877, allocations: 318.8 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.2882, allocations: 0.4994 MB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.2883, allocations: 4 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.2886, allocations: 279.6 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2889, allocations: 139.7 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.289, allocations: 24 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.2891, allocations: 28 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.2892, allocations: 119.6 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2894, allocations: 183.1 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.2898, allocations: 426.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2898, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2899, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2899, allocations: 0 / 1.17 GB, free: 3.16 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.001192/0.2911, allocations: 0.882 MB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2911, allocations: 12.03 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.2912, allocations: 38.73 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2913, allocations: 52.7 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2916, allocations: 318.5 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.2917, allocations: 20.36 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.2917, allocations: 28.38 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.2926, allocations: 210 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2927, allocations: 3.938 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2927, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2927, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.2934, allocations: 103.9 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.2939, allocations: 393.2 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009965/0.2949, allocations: 193.5 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.2956, allocations: 104.8 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2956, allocations: 4 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008991/0.2965, allocations: 227 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.572e-06/0.2965, allocations: 0 / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002393/0.2989, allocations: 491.9 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.299, allocations: 63.39 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2994, allocations: 405.9 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.2995, allocations: 45.69 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.2995, allocations: 89.45 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2996, allocations: 51.61 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.2998, allocations: 129.5 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3, allocations: 322.8 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3002, allocations: 115.9 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3005, allocations: 166.9 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3009, allocations: 279.5 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3009, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007896/0.3017, allocations: 488.7 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.3018, allocations: 97.5 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3018, allocations: 0 / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3019, allocations: 4 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.302, allocations: 23.92 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.302, allocations: 4 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.3025, allocations: 67.98 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.3026, allocations: 59.97 kB / 1.175 GB, free: 13.42 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.0002115/0.3028, allocations: 190.2 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3029, allocations: 43.7 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.3029, allocations: 39.75 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3029, allocations: 3.984 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.303, allocations: 0 / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.303, allocations: 0 / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.305, allocations: 0.7521 MB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3051, allocations: 0 / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.3051, allocations: 8 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3051, allocations: 3.984 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3051, allocations: 19.98 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3052, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3052, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3068, allocations: 483.4 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.3071, allocations: 204.7 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.3071, allocations: 11.98 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.3076, allocations: 31.97 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.3076, allocations: 7.984 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.3077, allocations: 51.98 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002946/0.308, allocations: 299.1 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.308, allocations: 7.938 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003283/0.3083, allocations: 67.98 kB / 1.178 GB, free: 11.12 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.002/0.3103, allocations: 1.027 MB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.3115, allocations: 438.5 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3116, allocations: 384 / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.3123, allocations: 121.3 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3127, allocations: 28.17 kB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.3167, allocations: 2.8 MB / 1.182 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3171, allocations: 0.7745 MB / 1.183 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.3172, allocations: 13.08 kB / 1.183 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.3172, allocations: 27.42 kB / 1.183 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.3172, allocations: 0 / 1.183 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.881/5.198, allocations: 6.117 MB / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/17.55, allocations: 17.59 kB / 1.189 GB, free: 15.58 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)