Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007362/0.007362, allocations: 101 kB / 15.73 MB, free: 5.992 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.001501/0.001501, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.805/1.805, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001517/0.001517, allocations: 76.42 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.302, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003402/0.3055, allocations: 1.693 MB / 0.8298 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3067, allocations: 467.3 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.3068, allocations: 11.94 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.3069, allocations: 11.86 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.307, allocations: 36.09 kB / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.3078, allocations: 275.1 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.3083, allocations: 403.4 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3084, allocations: 29.38 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.3087, allocations: 219.6 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.309, allocations: 128 kB / 0.8313 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.3091, allocations: 28 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.3091, allocations: 28 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3092, allocations: 91.77 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3094, allocations: 143.3 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3098, allocations: 410.8 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3098, allocations: 0 / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3098, allocations: 0 / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3099, allocations: 4 kB / 0.8319 GB, free: 12.24 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.001384/0.3113, allocations: 0.7271 MB / 0.8326 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3113, allocations: 8.031 kB / 0.8327 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3114, allocations: 36.56 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.3118, allocations: 284.2 kB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.3119, allocations: 12.38 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.3119, allocations: 27.92 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.3123, allocations: 165.5 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3123, allocations: 3.984 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.3123, allocations: 8 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3123, allocations: 0 / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3125, allocations: 59.91 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3137, allocations: 0.551 MB / 0.8338 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.314, allocations: 150.6 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3141, allocations: 61.08 kB / 0.834 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3142, allocations: 4 kB / 0.834 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/0.3147, allocations: 234.5 kB / 0.8342 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.3147, allocations: 3.938 kB / 0.8342 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006482/0.3153, allocations: 277.1 kB / 0.8345 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3154, allocations: 67.33 kB / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3157, allocations: 316.5 kB / 0.8348 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.3158, allocations: 37.7 kB / 0.8349 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.3159, allocations: 109 kB / 0.835 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3159, allocations: 43.5 kB / 0.835 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.3161, allocations: 109.7 kB / 0.8351 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3162, allocations: 322.8 kB / 0.8354 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3165, allocations: 104.2 kB / 0.8355 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3167, allocations: 162.3 kB / 0.8357 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.3171, allocations: 255.3 kB / 0.8359 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3171, allocations: 0 / 0.8359 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006897/0.3178, allocations: 443.4 kB / 0.8363 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.3179, allocations: 75.39 kB / 0.8364 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3179, allocations: 4 kB / 0.8364 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3179, allocations: 0 / 0.8364 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3181, allocations: 35.91 kB / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3181, allocations: 0 / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.3186, allocations: 67.92 kB / 0.8365 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.3186, allocations: 51.98 kB / 0.8366 GB, free: 7.164 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: 26 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.3189, allocations: 185.8 kB / 0.8367 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3189, allocations: 35.61 kB / 0.8368 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.319, allocations: 26.36 kB / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.319, allocations: 4 kB / 0.8368 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.319, allocations: 4 kB / 0.8368 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.319, allocations: 3.938 kB / 0.8368 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.3198, allocations: 0.6023 MB / 0.8374 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3199, allocations: 0 / 0.8374 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.3199, allocations: 7.984 kB / 0.8374 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3199, allocations: 0 / 0.8374 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.32, allocations: 15.92 kB / 0.8374 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.32, allocations: 0 / 0.8374 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.32, allocations: 0 / 0.8374 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.3205, allocations: 343 kB / 0.8377 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.3207, allocations: 176.7 kB / 0.8379 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3208, allocations: 11.94 kB / 0.8379 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.321, allocations: 15.98 kB / 0.8379 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.3211, allocations: 15.97 kB / 0.838 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.3211, allocations: 35.92 kB / 0.838 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002438/0.3214, allocations: 223 kB / 0.8382 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 0 / 0.8382 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003344/0.3217, allocations: 67.84 kB / 0.8383 GB, free: 5.32 MB / 0.6544 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 (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.0002298/0.322, allocations: 117.5 kB / 0.8384 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.3226, allocations: 366.6 kB / 0.8387 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3226, allocations: 0 / 0.8387 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.3228, allocations: 79.33 kB / 0.8388 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3232, allocations: 37.02 kB / 0.8388 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.324, allocations: 420.4 kB / 0.8392 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3244, allocations: 0.7629 MB / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.3246, allocations: 37.42 kB / 0.84 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3247, allocations: 35.42 kB / 0.8401 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.3247, allocations: 3.938 kB / 0.8401 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of Templates: time 0.009918/0.3346, allocations: 4.504 MB / 0.8445 GB, free: 14.96 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)