Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0021/0.002099, allocations: 187.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.6305 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008661, allocations: 90.91 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006079/0.0006081, allocations: 12.44 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2752, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001769/0.2771, allocations: 1.351 MB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.2779, allocations: 444.9 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.278, allocations: 0 / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.278, allocations: 11.86 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.2782, allocations: 27.91 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.2788, allocations: 214.8 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.279, allocations: 179.7 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2791, allocations: 33.42 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2794, allocations: 167.6 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.2795, allocations: 127.7 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.2796, allocations: 15.94 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.2797, allocations: 8 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.2797, allocations: 79.78 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.2798, allocations: 73.58 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.2801, allocations: 315.5 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2801, allocations: 4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2801, allocations: 3.938 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2802, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 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.001072/0.2812, allocations: 0.6451 MB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2813, allocations: 8.031 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.2813, allocations: 42.55 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.2814, allocations: 43.58 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.2818, allocations: 267.2 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.2819, allocations: 15.98 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.2819, allocations: 20 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2822, allocations: 174.1 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2823, allocations: 3.938 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.2823, allocations: 4 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2823, allocations: 4 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2824, allocations: 55.97 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2835, allocations: 0.5627 MB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2837, allocations: 138.7 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.2838, allocations: 7.984 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.2842, allocations: 224.1 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.2842, allocations: 0 / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005181/0.2848, allocations: 286.6 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2848, allocations: 67.39 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2851, allocations: 312.4 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.2851, allocations: 41.64 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.2852, allocations: 97.12 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.522e-05/0.2853, allocations: 51.38 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2853, allocations: 4 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.2854, allocations: 330.8 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.2856, allocations: 108.2 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2858, allocations: 154.4 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.286, allocations: 165.8 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2861, allocations: 0 / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000583/0.2866, allocations: 438 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.2867, allocations: 79.38 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.2867, allocations: 4 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2868, allocations: 0 / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2869, allocations: 35.92 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.287, allocations: 12.12 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.2875, allocations: 71.8 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.2875, allocations: 51.98 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.2877, allocations: 187.5 kB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2878, allocations: 35.55 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.2878, allocations: 34.36 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2878, allocations: 3.984 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2878, allocations: 0 / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2879, allocations: 3.953 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.2886, allocations: 0.5933 MB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2886, allocations: 4 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.2886, allocations: 7.984 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2887, allocations: 4 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2887, allocations: 15.94 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2887, allocations: 0 / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2887, allocations: 4 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2891, allocations: 328.2 kB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.2893, allocations: 180.7 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.2893, allocations: 16 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2895, allocations: 15.94 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.2896, allocations: 19.91 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2896, allocations: 31.98 kB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000172/0.2898, allocations: 223 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2898, allocations: 0 / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003055/0.2901, allocations: 59.89 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006324/0.2908, allocations: 0.8826 MB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.2913, allocations: 365.2 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2913, allocations: 0 / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.2914, allocations: 71.91 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2917, allocations: 36.95 kB / 0.9898 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2928, allocations: 1.654 MB / 0.9914 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.293, allocations: 0.7556 MB / 0.9922 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.2932, allocations: 37.42 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2933, allocations: 55.41 kB / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2933, allocations: 0 / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3093, allocations: 5.505 MB / 0.9976 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.3095, allocations: 228.2 kB / 0.9979 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.972, allocations: 0 / 0.9979 GB, free: 8.391 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)