Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 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.001347/0.001347, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.83 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4108, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003714/0.4146, allocations: 1.74 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.4162, allocations: 0.6372 MB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.4163, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.4164, allocations: 15.8 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.4166, allocations: 27.84 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.4175, allocations: 363.3 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.4181, allocations: 0.6243 MB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4183, allocations: 45.06 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.4187, allocations: 299.6 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.419, allocations: 151.5 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4191, allocations: 43.94 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4193, allocations: 44 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4194, allocations: 127.6 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.4197, allocations: 215 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.4203, allocations: 0.5961 MB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4204, allocations: 4 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 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.00155/0.4219, allocations: 0.9092 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.422, allocations: 12.03 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.4222, allocations: 56.45 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.4228, allocations: 330.2 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.4229, allocations: 20.55 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.4229, allocations: 28.38 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4241, allocations: 242 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4241, allocations: 3.938 kB / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.4242, allocations: 0 / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4242, allocations: 7.938 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.425, allocations: 115.9 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.4264, allocations: 0.6798 MB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.4276, allocations: 178.5 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.4283, allocations: 120.7 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.4284, allocations: 4 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.4294, allocations: 235.1 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.4295, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002841/0.4323, allocations: 494.4 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.4324, allocations: 59.41 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.4329, allocations: 441.8 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.433, allocations: 45.69 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.4331, allocations: 105.3 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4331, allocations: 43.47 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.4334, allocations: 137.2 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4335, allocations: 330.8 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.4338, allocations: 139.9 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.4342, allocations: 198.9 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.4347, allocations: 303 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4347, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009601/0.4357, allocations: 0.5178 MB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.4358, allocations: 95.38 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4358, allocations: 0 / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4358, allocations: 7.984 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.436, allocations: 23.92 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.436, allocations: 7.938 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.4366, allocations: 67.97 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/0.4367, allocations: 59.92 kB / 1.079 GB, free: 15.17 MB / 0.8419 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.0003092/0.437, allocations: 212.3 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.437, allocations: 35.53 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.925e-05/0.4371, allocations: 47.78 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4371, allocations: 4 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4371, allocations: 0 / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4371, allocations: 0 / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4395, allocations: 0.7908 MB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4395, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.4396, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4396, allocations: 4 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.4396, allocations: 23.91 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4396, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4396, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.4415, allocations: 488.4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.4418, allocations: 240.5 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.4419, allocations: 19.94 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.4425, allocations: 31.97 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4425, allocations: 11.98 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.4426, allocations: 59.97 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003514/0.4429, allocations: 315.1 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.443, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004721/0.4434, allocations: 75.89 kB / 1.081 GB, free: 12.74 MB / 0.8419 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.0002205/0.4437, allocations: 136 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.4453, allocations: 480.5 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4453, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.4462, allocations: 123.8 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4467, allocations: 46.34 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.4485, allocations: 0.6024 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4491, allocations: 0.7863 MB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.47e-05/0.4492, allocations: 17.42 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.4492, allocations: 15.44 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4492, allocations: 3.938 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.01263/0.4618, allocations: 5.45 MB / 1.089 GB, free: 4.93 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)