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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 110.7 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 192.8 kB / 17.3 MB, free: 5.848 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.855/1.855, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001531/0.001531, allocations: 68.41 kB / 0.673 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003097/0.2724, allocations: 1.673 MB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2735, allocations: 487.2 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.2735, allocations: 4 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2736, allocations: 11.86 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2738, allocations: 32.16 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.2745, allocations: 282.6 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.275, allocations: 419.4 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2751, allocations: 21.12 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4083/0.6834, allocations: 232.4 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.6839, allocations: 127 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.684, allocations: 28.88 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.6841, allocations: 33.28 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.6842, allocations: 93.41 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.6843, allocations: 149.3 kB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.6847, allocations: 432.3 kB / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6847, allocations: 0 / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6848, allocations: 0 / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.6848, allocations: 1.25 kB / 0.7887 GB, free: 46.6 MB / 0.6544 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.001/0.6858, allocations: 0.7679 MB / 0.7895 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6858, allocations: 9.562 kB / 0.7895 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.6859, allocations: 36.72 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.6862, allocations: 282.1 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.6863, allocations: 22.97 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.6863, allocations: 18.25 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.6873, allocations: 224.9 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6873, allocations: 0 / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.6873, allocations: 10.03 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6873, allocations: 1.844 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/0.688, allocations: 112.8 kB / 0.7901 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6891, allocations: 0.5647 MB / 0.7907 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.69, allocations: 181.1 kB / 0.7909 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.6907, allocations: 115.4 kB / 0.791 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.6908, allocations: 2.625 kB / 0.791 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/0.6917, allocations: 220.7 kB / 0.7912 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.6917, allocations: 0 / 0.7912 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002275/0.6939, allocations: 459 kB / 0.7916 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.694, allocations: 67.52 kB / 0.7917 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6943, allocations: 321.9 kB / 0.792 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.6944, allocations: 40.05 kB / 0.792 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.6944, allocations: 99.56 kB / 0.7921 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.6945, allocations: 37.81 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6946, allocations: 102.7 kB / 0.7923 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.6947, allocations: 321.2 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.6949, allocations: 99.67 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.6951, allocations: 147.7 kB / 0.7928 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.6954, allocations: 257 kB / 0.793 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6954, allocations: 0 / 0.793 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005896/0.696, allocations: 415.5 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.6961, allocations: 74.34 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6961, allocations: 5.469 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6961, allocations: 7.688 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6963, allocations: 24.16 kB / 0.7936 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6963, allocations: 3.75 kB / 0.7936 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.6967, allocations: 58.31 kB / 0.7936 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.6968, allocations: 39.98 kB / 0.7936 GB, free: 44.29 MB / 0.6544 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.0001818/0.697, allocations: 188.9 kB / 0.7938 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.6971, allocations: 28.53 kB / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.6971, allocations: 35.47 kB / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6971, allocations: 0 / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6971, allocations: 0 / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.6974, allocations: 191.7 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.6974, allocations: 14.44 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.6979, allocations: 36.48 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.6979, allocations: 6.594 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001537/0.6994, allocations: 409.5 kB / 0.7945 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00152/0.701, allocations: 0.5157 MB / 0.795 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006601/0.7017, allocations: 120.1 kB / 0.7951 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001893/0.7019, allocations: 233.3 kB / 0.7954 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of Backend: time 5.81e-07/0.7019, allocations: 0 / 0.7954 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007681/0.7026, allocations: 375.2 kB / 0.7957 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0008293/0.7035, allocations: 0.849 MB / 0.7965 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.009026/0.7125, allocations: 4.125 MB / 0.8006 GB, free: 42.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)