Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001298/0.001298, 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.001644/0.001644, allocations: 188.6 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.754/1.754, 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.001484/0.001484, allocations: 78.53 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003205/0.2645, allocations: 1.68 MB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2659, allocations: 476.3 kB / 0.7858 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.266, allocations: 4 kB / 0.7858 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.2662, allocations: 19.86 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.2664, allocations: 28.16 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.2673, allocations: 278.8 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.2678, allocations: 411.4 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2679, allocations: 33.39 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2682, allocations: 227.6 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2685, allocations: 128 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.589e-05/0.2686, allocations: 32 kB / 0.7869 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.2687, allocations: 31.94 kB / 0.7869 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2688, allocations: 91.72 kB / 0.787 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.269, allocations: 151.3 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2695, allocations: 430.6 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2695, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2695, allocations: 4 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.2695, allocations: 0 / 0.7875 GB, free: 9.273 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.001289/0.2708, allocations: 0.7773 MB / 0.7883 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2709, allocations: 12.03 kB / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.2709, allocations: 38.75 kB / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.271, allocations: 44.55 kB / 0.7884 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.2714, allocations: 280.2 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.2714, allocations: 16.12 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.2715, allocations: 23.98 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.2724, allocations: 225.4 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2724, allocations: 0 / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2725, allocations: 7.984 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2725, allocations: 0 / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.2732, allocations: 111.9 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2744, allocations: 0.5588 MB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.2754, allocations: 182.4 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.2761, allocations: 112.8 kB / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2761, allocations: 0 / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.2772, allocations: 235 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.2772, allocations: 0 / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002312/0.2795, allocations: 459.9 kB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.2796, allocations: 63.39 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.28, allocations: 320.4 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.28, allocations: 37.7 kB / 0.7909 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.2801, allocations: 101 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.2802, allocations: 31.61 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.2803, allocations: 109.5 kB / 0.7912 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2805, allocations: 322.8 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2807, allocations: 91.95 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2809, allocations: 150.5 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.2813, allocations: 255.7 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2813, allocations: 0 / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007147/0.282, allocations: 424.7 kB / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/0.2821, allocations: 79.38 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.2821, allocations: 0 / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2822, allocations: 7.938 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2824, allocations: 23.92 kB / 0.7924 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2824, allocations: 3.938 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2829, allocations: 60.05 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.283, allocations: 39.98 kB / 0.7925 GB, free: 3.793 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.0002618/0.2833, allocations: 184.4 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.2833, allocations: 27.62 kB / 0.7927 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.2834, allocations: 30.36 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2834, allocations: 3.938 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2834, allocations: 0 / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2834, allocations: 0 / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.2855, allocations: 0.7404 MB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2855, allocations: 3.938 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.2855, allocations: 8 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.2856, allocations: 3.984 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.2856, allocations: 15.98 kB / 0.7935 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2856, allocations: 7.938 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2856, allocations: 0 / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2872, allocations: 459.3 kB / 0.794 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.2875, allocations: 184.7 kB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2875, allocations: 12 kB / 0.7942 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.288, allocations: 35.95 kB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.288, allocations: 7.938 kB / 0.7942 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.2881, allocations: 43.97 kB / 0.7943 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002549/0.2884, allocations: 231 kB / 0.7945 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2884, allocations: 7.938 kB / 0.7945 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003847/0.2888, allocations: 55.89 kB / 0.7945 GB, free: 1.656 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.00214/0.2909, allocations: 1.004 MB / 0.7955 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.2922, allocations: 398.5 kB / 0.7959 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.2922, allocations: 4.375 kB / 0.7959 GB, free: 212 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.2929, allocations: 127.8 kB / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2933, allocations: 31.48 kB / 0.796 GB, free: 56 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.2971, allocations: 2.534 MB / 0.7985 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2975, allocations: 0.7552 MB / 0.7993 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.879e-05/0.2976, allocations: 13.38 kB / 0.7993 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.2976, allocations: 31.42 kB / 0.7993 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2976, allocations: 0 / 0.7993 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3202, allocations: 5.258 MB / 0.8044 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.886, allocations: 7.359 kB / 0.8044 GB, free: 7.48 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)