Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.002308/0.002308, 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.003375/0.003375, allocations: 189.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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.727/1.727, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001664/0.001664, allocations: 73.97 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 114.6 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003587/0.2563, allocations: 1.67 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.2573, allocations: 480.3 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.2574, allocations: 0 / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2575, allocations: 19.8 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2576, allocations: 28.22 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.2584, allocations: 282.7 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.2589, allocations: 423.4 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.259, allocations: 25.41 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.2594, allocations: 227.6 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2596, allocations: 134.5 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.2597, allocations: 32 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.2598, allocations: 28 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.2599, allocations: 91.72 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.26, allocations: 151.3 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.2604, allocations: 430.6 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2604, allocations: 0 / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2604, allocations: 0 / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.2604, allocations: 0 / 0.7875 GB, free: 9.23 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.001157/0.2616, allocations: 0.7811 MB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2617, allocations: 12.03 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.2617, allocations: 38.73 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.2618, allocations: 36.56 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.2622, allocations: 276.2 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.2622, allocations: 20.12 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.2623, allocations: 19.98 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.2632, allocations: 233.3 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2632, allocations: 0 / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.2633, allocations: 8 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2633, allocations: 0 / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.264, allocations: 111.9 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2652, allocations: 0.555 MB / 0.7896 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.2661, allocations: 182.4 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.2668, allocations: 116.8 kB / 0.7899 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2669, allocations: 3.984 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008886/0.2678, allocations: 219 kB / 0.7901 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.2678, allocations: 4 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002298/0.2701, allocations: 468.1 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.2702, allocations: 59.41 kB / 0.7906 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2705, allocations: 320.4 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.2706, allocations: 37.7 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.2707, allocations: 105 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2707, allocations: 31.59 kB / 0.791 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.2709, allocations: 105.5 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.271, allocations: 318.8 kB / 0.7914 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2712, allocations: 99.95 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2715, allocations: 146.6 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.2718, allocations: 263.9 kB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2718, allocations: 0 / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006404/0.2724, allocations: 416.7 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.2725, allocations: 79.39 kB / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2725, allocations: 192 / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2726, allocations: 15.94 kB / 0.7924 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2727, allocations: 27.91 kB / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2727, allocations: 0 / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.2732, allocations: 55.86 kB / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.2732, allocations: 32 kB / 0.7925 GB, free: 3.758 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.0001973/0.2734, allocations: 192.4 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2735, allocations: 27.62 kB / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.2736, allocations: 30.36 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2736, allocations: 3.938 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2736, allocations: 0 / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2736, allocations: 3.984 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.2756, allocations: 0.7365 MB / 0.7935 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2756, allocations: 0 / 0.7935 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.2757, allocations: 7.984 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2757, allocations: 0 / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2757, allocations: 19.97 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.2757, allocations: 4 kB / 0.7935 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2757, allocations: 3.938 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.2773, allocations: 457.5 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2775, allocations: 184.7 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.2775, allocations: 19.98 kB / 0.7942 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.278, allocations: 31.97 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.278, allocations: 11.92 kB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.2781, allocations: 43.98 kB / 0.7942 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002165/0.2783, allocations: 231 kB / 0.7945 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2783, allocations: 0 / 0.7945 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003512/0.2787, allocations: 55.91 kB / 0.7945 GB, free: 1.621 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.001866/0.2805, allocations: 1.005 MB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.2817, allocations: 406.5 kB / 0.7959 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2817, allocations: 0 / 0.7959 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.2824, allocations: 119.2 kB / 0.796 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2828, allocations: 45.84 kB / 0.796 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.2864, allocations: 2.531 MB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.2867, allocations: 0.7513 MB / 0.7993 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.2868, allocations: 17.58 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.2869, allocations: 27.42 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2869, allocations: 0 / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3091, allocations: 5.256 MB / 0.8044 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.917, allocations: 7.062 kB / 0.8044 GB, free: 7.441 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)