Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.98/2.98, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001552/0.001552, allocations: 173.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.58/2.58, allocations: 205.4 MB / 0.6295 GB, free: 10.51 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.001157/0.001157, allocations: 97.73 kB / 0.7428 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.0006868, allocations: 13.31 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2903, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002792/0.2931, allocations: 1.347 MB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2948, allocations: 449 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2949, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.295, allocations: 3.938 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2952, allocations: 31.83 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2965, allocations: 205.7 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.2969, allocations: 187.7 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2971, allocations: 29.38 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.2976, allocations: 167.6 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.2979, allocations: 127.7 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.2981, allocations: 12 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2982, allocations: 11.94 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.2984, allocations: 79.78 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2985, allocations: 73.58 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.2991, allocations: 315.5 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2991, allocations: 0 / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2991, allocations: 4 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2992, allocations: 0 / 0.9812 GB, free: 25.31 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.001955/0.3011, allocations: 0.6413 MB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3012, allocations: 12.02 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.3014, allocations: 39.58 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.302, allocations: 267.2 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3021, allocations: 19.98 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.3023, allocations: 27.92 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.303, allocations: 169.5 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.303, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.3031, allocations: 8 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3031, allocations: 3.938 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.3035, allocations: 59.91 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.3059, allocations: 0.5628 MB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.3066, allocations: 138.6 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3066, allocations: 0 / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.3076, allocations: 228.1 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.506e-06/0.3076, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001324/0.3089, allocations: 287.3 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.309, allocations: 67.39 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.3096, allocations: 308.5 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.3098, allocations: 37.7 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3099, allocations: 101 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.31, allocations: 51.38 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.3101, allocations: 8 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.3102, allocations: 326.8 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.3108, allocations: 100.2 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.3114, allocations: 166.3 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.312, allocations: 160.1 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.312, allocations: 0 / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001594/0.3136, allocations: 440.6 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3138, allocations: 79.38 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3138, allocations: 0 / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3138, allocations: 4 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.3142, allocations: 31.88 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3142, allocations: 4 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3155, allocations: 72.03 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3157, allocations: 51.98 kB / 0.9855 GB, free: 20.61 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.0004501/0.3162, allocations: 189.7 kB / 0.9856 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.3163, allocations: 35.61 kB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3165, allocations: 30.36 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.3165, allocations: 4 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.3165, allocations: 7.953 kB / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3165, allocations: 0 / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3181, allocations: 0.5901 MB / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3181, allocations: 0 / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3182, allocations: 15.92 kB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.3183, allocations: 3.938 kB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.3183, allocations: 27.88 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3184, allocations: 0 / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3184, allocations: 0 / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.3192, allocations: 327 kB / 0.9866 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.3197, allocations: 176.7 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3198, allocations: 12 kB / 0.9868 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.3204, allocations: 19.94 kB / 0.9868 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3205, allocations: 19.97 kB / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.718e-05/0.3207, allocations: 31.98 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004232/0.3211, allocations: 223 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.92e-07/0.3211, allocations: 0 / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007786/0.3219, allocations: 59.92 kB / 0.9872 GB, free: 18.76 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.0002565/0.3222, allocations: 120.9 kB / 0.9873 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3235, allocations: 369 kB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3235, allocations: 0 / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.3239, allocations: 79.89 kB / 0.9877 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.3245, allocations: 31.27 kB / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3259, allocations: 499.8 kB / 0.9882 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3263, allocations: 0.7624 MB / 0.989 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.3267, allocations: 45.34 kB / 0.989 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.327, allocations: 35.42 kB / 0.989 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.327, allocations: 0 / 0.989 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.0162/0.3432, allocations: 4.277 MB / 0.9932 GB, free: 12.51 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)