Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.005161/0.005161, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001486/0.001486, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 75.89 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.667/0.6688, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002805/0.6717, allocations: 1.732 MB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.673, allocations: 0.6247 MB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.6731, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.6732, allocations: 7.875 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.6733, allocations: 31.73 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008551/0.6742, allocations: 373.1 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.6749, allocations: 0.6243 MB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.675, allocations: 37.08 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.6754, allocations: 303.6 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.6757, allocations: 159.3 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.6758, allocations: 43.94 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.6759, allocations: 48 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.6761, allocations: 131.6 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.6763, allocations: 215 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.6769, allocations: 0.5952 MB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6769, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6769, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6769, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 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.00129/0.6782, allocations: 0.9248 MB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6783, allocations: 12.03 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.6783, allocations: 46.73 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.6784, allocations: 56.66 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.6788, allocations: 338.5 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.6789, allocations: 20.36 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.679, allocations: 32.36 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.6799, allocations: 232.4 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6799, allocations: 7.938 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.68, allocations: 4 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.68, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.6807, allocations: 115.9 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.6819, allocations: 0.6798 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6829, allocations: 174.5 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.6836, allocations: 118.2 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6837, allocations: 4 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009012/0.6846, allocations: 229.9 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.6846, allocations: 0 / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002422/0.687, allocations: 0.4895 MB / 1.228 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.6871, allocations: 63.41 kB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.6875, allocations: 441.9 kB / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.6876, allocations: 41.69 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.6877, allocations: 109.3 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.6877, allocations: 43.67 kB / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.688, allocations: 137.5 kB / 1.229 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6881, allocations: 322.8 kB / 1.229 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.6884, allocations: 143.9 kB / 1.23 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.6887, allocations: 196.9 kB / 1.23 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.6891, allocations: 297.3 kB / 1.23 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6891, allocations: 0 / 1.23 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008827/0.69, allocations: 0.5221 MB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/0.6901, allocations: 101.4 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6901, allocations: 0 / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6902, allocations: 8.125 kB / 1.231 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.6903, allocations: 23.97 kB / 1.231 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6903, allocations: 7.938 kB / 1.231 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.6908, allocations: 63.78 kB / 1.231 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.6909, allocations: 59.92 kB / 1.231 GB, free: 6.762 MB / 0.9512 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.000247/0.6911, allocations: 212.9 kB / 1.231 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.6912, allocations: 47.69 kB / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.6913, allocations: 43.8 kB / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6913, allocations: 0 / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6913, allocations: 0 / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6913, allocations: 0 / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.6934, allocations: 0.7873 MB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6934, allocations: 0 / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.6935, allocations: 15.92 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6935, allocations: 4 kB / 1.232 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.6935, allocations: 23.92 kB / 1.232 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6935, allocations: 0 / 1.232 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6935, allocations: 0 / 1.232 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.6952, allocations: 485.8 kB / 1.232 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.6955, allocations: 240.7 kB / 1.233 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.6956, allocations: 23.94 kB / 1.233 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.6961, allocations: 35.95 kB / 1.233 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.6961, allocations: 4 kB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.6962, allocations: 59.97 kB / 1.233 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003419/0.6965, allocations: 319.1 kB / 1.233 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6965, allocations: 0 / 1.233 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000366/0.6969, allocations: 71.94 kB / 1.233 GB, free: 4.32 MB / 0.9512 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.002103/0.699, allocations: 1.044 MB / 1.234 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.7003, allocations: 482.2 kB / 1.235 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7004, allocations: 0 / 1.235 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.7011, allocations: 123.8 kB / 1.235 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.7015, allocations: 46.97 kB / 1.235 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.7059, allocations: 3.018 MB / 1.238 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.7063, allocations: 0.7825 MB / 1.238 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.13e-05/0.7064, allocations: 17.42 kB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.7065, allocations: 35.36 kB / 1.239 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.7065, allocations: 0 / 1.239 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.027/1.734, allocations: 6.714 MB / 1.245 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/14.02, allocations: 6.344 kB / 1.245 GB, free: 7.91 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)