Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_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.001269/0.001269, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 186.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 0.549 GB, free: 12.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 69.73 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.25, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002813/0.2529, allocations: 1.491 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.2538, allocations: 424.2 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.2539, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.254, allocations: 7.875 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.2541, allocations: 24.22 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.2547, allocations: 258.3 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.2551, allocations: 327.5 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.2551, allocations: 11.98 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2554, allocations: 191.8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2556, allocations: 112 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.2556, allocations: 20 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.2557, allocations: 20 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.2558, allocations: 83.75 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2559, allocations: 127.4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.2562, allocations: 295.3 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2562, allocations: 0 / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2562, allocations: 4 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2562, allocations: 0 / 0.7869 GB, free: 9.867 MB / 0.6075 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.0009557/0.2572, allocations: 0.7461 MB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2572, allocations: 12.03 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.2572, allocations: 30.75 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.2573, allocations: 36.66 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2576, allocations: 255.7 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2577, allocations: 24.05 kB / 0.788 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2577, allocations: 15.94 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.2586, allocations: 213.4 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2586, allocations: 0 / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.2586, allocations: 3.984 kB / 0.7882 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2587, allocations: 4 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.2593, allocations: 95.92 kB / 0.7883 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2596, allocations: 317.3 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.2606, allocations: 174.4 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.2612, allocations: 108.8 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.2613, allocations: 4 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.2623, allocations: 211.1 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.2623, allocations: 0 / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002343/0.2646, allocations: 452.3 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.2647, allocations: 55.41 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.2651, allocations: 294.9 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.2651, allocations: 37.7 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.2652, allocations: 89.14 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.2653, allocations: 43.53 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2654, allocations: 97.39 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2656, allocations: 326.8 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2658, allocations: 87.88 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.266, allocations: 134 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2663, allocations: 239.9 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2663, allocations: 0 / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005934/0.2669, allocations: 388.6 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.267, allocations: 75.58 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.267, allocations: 7.984 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.267, allocations: 4 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2672, allocations: 23.92 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2672, allocations: 0 / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.2676, allocations: 59.8 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.2677, allocations: 35.98 kB / 0.7914 GB, free: 4.895 MB / 0.6075 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.0001922/0.2679, allocations: 187.2 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.2679, allocations: 23.72 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.268, allocations: 26.3 kB / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.268, allocations: 4 kB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.268, allocations: 3.984 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.268, allocations: 0 / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.2699, allocations: 0.6896 MB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2699, allocations: 0 / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.27, allocations: 7.984 kB / 0.7923 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.27, allocations: 0 / 0.7923 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.27, allocations: 19.86 kB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2701, allocations: 0 / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2701, allocations: 8 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2715, allocations: 443.4 kB / 0.7928 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.2717, allocations: 160.6 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.2718, allocations: 19.98 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.2722, allocations: 31.97 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.2722, allocations: 11.92 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.2723, allocations: 51.91 kB / 0.793 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001761/0.2725, allocations: 205.9 kB / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2725, allocations: 0 / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002979/0.2728, allocations: 51.98 kB / 0.7933 GB, free: 2.879 MB / 0.6075 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.001779/0.2746, allocations: 0.9905 MB / 0.7942 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009998/0.2756, allocations: 374.5 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2756, allocations: 0 / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.2762, allocations: 120.2 kB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2766, allocations: 31.02 kB / 0.7947 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.2797, allocations: 2.383 MB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.28, allocations: 0.7396 MB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.937e-05/0.28, allocations: 13.08 kB / 0.7978 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.2801, allocations: 23.44 kB / 0.7978 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.2801, allocations: 0 / 0.7978 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.3001, allocations: 4.778 MB / 0.8025 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.488, allocations: 10.78 kB / 0.8025 GB, free: 9.344 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)