Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001155/0.001155, allocations: 109.4 kB / 15.69 MB, free: 124 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.00119/0.00119, allocations: 186.8 kB / 16.62 MB, free: 6.613 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.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.695/1.695, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001415/0.001415, allocations: 69.47 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2448, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003088/0.2479, allocations: 1.673 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.249, allocations: 484.3 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.2491, allocations: 0 / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2492, allocations: 15.8 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2493, allocations: 32.22 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.2501, allocations: 282.1 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.2505, allocations: 415.4 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2507, allocations: 29.38 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.251, allocations: 231.6 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.2512, allocations: 132 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.2513, allocations: 28 kB / 0.7869 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.2514, allocations: 28 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2515, allocations: 91.72 kB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2516, allocations: 151.3 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.252, allocations: 430.6 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.252, allocations: 0 / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.066e-06/0.252, allocations: 7.984 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.2521, allocations: 0 / 0.7875 GB, free: 9.246 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001083/0.2532, allocations: 0.7772 MB / 0.7883 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2532, allocations: 8.031 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.2533, allocations: 42.73 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.2533, allocations: 36.56 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.2537, allocations: 276.2 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.2537, allocations: 24.12 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.2538, allocations: 19.98 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.2547, allocations: 236.1 kB / 0.7889 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2547, allocations: 0 / 0.7889 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2548, allocations: 4 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2548, allocations: 4 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.2555, allocations: 111.9 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2566, allocations: 0.555 MB / 0.7896 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.2575, allocations: 182.4 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.2582, allocations: 112.8 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.2583, allocations: 7.984 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/0.2592, allocations: 219 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.2592, allocations: 0 / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002323/0.2615, allocations: 465 kB / 0.7905 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.2616, allocations: 59.41 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.262, allocations: 324.4 kB / 0.7909 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.2621, allocations: 33.7 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.2621, allocations: 105 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2622, allocations: 35.59 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2623, allocations: 101.5 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2625, allocations: 326.8 kB / 0.7915 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2626, allocations: 91.95 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2629, allocations: 150.6 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.2632, allocations: 261.2 kB / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2632, allocations: 0 / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000614/0.2638, allocations: 415.1 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.2639, allocations: 85.89 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2639, allocations: 4.188 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2639, allocations: 7.938 kB / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2641, allocations: 23.91 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2641, allocations: 4 kB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.2645, allocations: 55.86 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.2646, allocations: 36 kB / 0.7925 GB, free: 3.773 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.000208/0.2648, allocations: 192.3 kB / 0.7927 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.2649, allocations: 31.62 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.265, allocations: 26.36 kB / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.265, allocations: 7.938 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.265, allocations: 0 / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.265, allocations: 0 / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.267, allocations: 0.7355 MB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.267, allocations: 0 / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.267, allocations: 7.984 kB / 0.7935 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.267, allocations: 4 kB / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.2671, allocations: 15.98 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2671, allocations: 3.984 kB / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2671, allocations: 3.938 kB / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2686, allocations: 459.3 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.2689, allocations: 184.7 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.269, allocations: 27.98 kB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.2694, allocations: 27.97 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.2695, allocations: 11.92 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.2695, allocations: 39.98 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002571/0.2698, allocations: 231 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2698, allocations: 0 / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003997/0.2702, allocations: 55.91 kB / 0.7945 GB, free: 1.637 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.001985/0.2722, allocations: 1.013 MB / 0.7955 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2733, allocations: 404.7 kB / 0.7959 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2733, allocations: 0 / 0.7959 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.274, allocations: 116.3 kB / 0.796 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.2744, allocations: 41.61 kB / 0.7961 GB, free: 32 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.2781, allocations: 2.527 MB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2784, allocations: 0.7513 MB / 0.7993 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.2785, allocations: 17.42 kB / 0.7993 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.2786, allocations: 31.42 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2786, allocations: 0 / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3018, allocations: 5.25 MB / 0.8044 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.908, allocations: 10.41 kB / 0.8044 GB, free: 7.469 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)