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.001197/0.001197, 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.001205/0.001205, allocations: 189.1 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.339/1.339, 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.721/1.721, 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.001459/0.001459, allocations: 72.64 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 114.5 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002951/0.2456, allocations: 1.674 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2466, allocations: 478.9 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.2467, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2469, allocations: 15.81 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.247, allocations: 32.16 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.2477, allocations: 282.6 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.2481, allocations: 415.4 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2483, allocations: 33.39 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.2486, allocations: 223.6 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.2488, allocations: 134.4 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.2489, allocations: 32 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.2489, allocations: 32 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.2491, allocations: 95.7 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2493, allocations: 151.3 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2497, allocations: 426.7 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2497, allocations: 0 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.837e-06/0.2497, allocations: 0 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2497, allocations: 3.938 kB / 0.7875 GB, free: 9.203 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.001128/0.2508, allocations: 0.7734 MB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2509, allocations: 8.031 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.2509, allocations: 42.73 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.767e-05/0.251, allocations: 36.56 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.2514, allocations: 288.2 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.2514, allocations: 20.11 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.2515, allocations: 20 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.2524, allocations: 235.9 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2525, allocations: 0 / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.2525, allocations: 4 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2525, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.2532, allocations: 111.9 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2544, allocations: 0.5627 MB / 0.7896 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.2553, allocations: 174.5 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.256, allocations: 116.8 kB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2561, allocations: 0 / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.257, allocations: 227 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.257, allocations: 4 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002303/0.2593, allocations: 460.2 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2593, allocations: 63.41 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.2597, allocations: 320.4 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.2597, allocations: 41.69 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.2598, allocations: 97.05 kB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.2599, allocations: 35.59 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.26, allocations: 101.5 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2602, allocations: 322.8 kB / 0.7915 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2604, allocations: 95.94 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2606, allocations: 150.6 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.2609, allocations: 257.2 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2609, allocations: 0 / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006343/0.2616, allocations: 419.5 kB / 0.7923 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.2616, allocations: 83.31 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2617, allocations: 0 / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2617, allocations: 16.06 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2619, allocations: 19.98 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.2619, allocations: 0 / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.2623, allocations: 51.86 kB / 0.7925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.2624, allocations: 47.92 kB / 0.7925 GB, free: 3.727 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.0001887/0.2626, allocations: 184.4 kB / 0.7927 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2626, allocations: 31.61 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.2627, allocations: 30.36 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2627, allocations: 3.938 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2627, allocations: 0 / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2627, allocations: 0 / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.2647, allocations: 0.7404 MB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2647, allocations: 4 kB / 0.7935 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.2647, allocations: 4 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2648, allocations: 0 / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.2648, allocations: 15.97 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2648, allocations: 7.875 kB / 0.7935 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2648, allocations: 4 kB / 0.7935 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.2664, allocations: 459.3 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.2666, allocations: 184.7 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.2667, allocations: 12 kB / 0.7942 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.2671, allocations: 35.97 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.2672, allocations: 11.92 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.2673, allocations: 43.97 kB / 0.7943 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002497/0.2675, allocations: 231 kB / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2675, allocations: 0 / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003709/0.2679, allocations: 51.91 kB / 0.7945 GB, free: 1.598 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.002014/0.2699, allocations: 1.012 MB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.271, allocations: 402.5 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2711, allocations: 0 / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.2718, allocations: 116.3 kB / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.2722, allocations: 44.55 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.2759, allocations: 2.534 MB / 0.7985 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2763, allocations: 0.7513 MB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.2764, allocations: 17.42 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.2764, allocations: 27.42 kB / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2765, allocations: 0 / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3008, allocations: 5.25 MB / 0.8044 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.942, allocations: 9.812 kB / 0.8044 GB, free: 7.418 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-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)