Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009607/0.0009607, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006276/0.006276, allocations: 172.8 kB / 16.27 MB, free: 6.648 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6109, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001884/0.6128, allocations: 1.444 MB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.6142, allocations: 0.6833 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.6143, allocations: 3.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.105e-05/0.6144, allocations: 7.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.6145, allocations: 31.84 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.6153, allocations: 344.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.6158, allocations: 0.5306 MB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.6159, allocations: 24.91 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.6164, allocations: 315 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.6167, allocations: 175.1 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.6167, allocations: 12 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.6168, allocations: 16 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.617, allocations: 107.7 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.6172, allocations: 228.4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.6178, allocations: 0.5783 MB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6178, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6178, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.6178, allocations: 4 kB / 1.028 GB, free: 11.47 MB / 0.7794 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.001121/0.6189, allocations: 0.7731 MB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.619, allocations: 12.02 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.6191, allocations: 38.75 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.6192, allocations: 52.47 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.6196, allocations: 342 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.6197, allocations: 24.48 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.6198, allocations: 28.38 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6209, allocations: 245.5 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6209, allocations: 3.984 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.6209, allocations: 11.98 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.621, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.6218, allocations: 127.9 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.6232, allocations: 0.6798 MB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.6243, allocations: 202.4 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.625, allocations: 128.8 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.6251, allocations: 3.984 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009723/0.6261, allocations: 244.8 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.315e-06/0.6261, allocations: 0 / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002697/0.6288, allocations: 0.5186 MB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6288, allocations: 67.33 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.6293, allocations: 445.8 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.6294, allocations: 45.69 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.6295, allocations: 101.4 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.6296, allocations: 39.52 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.6296, allocations: 33.7 kB / 1.032 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6298, allocations: 326.8 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.6301, allocations: 139.9 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.6304, allocations: 195.4 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.6309, allocations: 312.3 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6309, allocations: 0 / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008759/0.6318, allocations: 0.5201 MB / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.6319, allocations: 93.59 kB / 1.033 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6319, allocations: 8 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6319, allocations: 4 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6321, allocations: 19.92 kB / 1.033 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6321, allocations: 4 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.6326, allocations: 75.72 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.6327, allocations: 63.98 kB / 1.033 GB, free: 5.273 MB / 0.7794 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.0002352/0.633, allocations: 220.3 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.633, allocations: 35.53 kB / 1.034 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.6331, allocations: 43.78 kB / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6331, allocations: 4 kB / 1.034 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6331, allocations: 0 / 1.034 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6331, allocations: 3.938 kB / 1.034 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6353, allocations: 0.8066 MB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6354, allocations: 0 / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.6354, allocations: 11.94 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6354, allocations: 3.938 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.6354, allocations: 19.97 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6355, allocations: 4 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6355, allocations: 0 / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6373, allocations: 0.4933 MB / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.6375, allocations: 240.4 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.6376, allocations: 23.92 kB / 1.035 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.6381, allocations: 39.97 kB / 1.035 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.6382, allocations: 7.984 kB / 1.035 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.6382, allocations: 59.97 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003064/0.6385, allocations: 319.1 kB / 1.036 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6386, allocations: 0 / 1.036 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003472/0.6389, allocations: 71.89 kB / 1.036 GB, free: 2.785 MB / 0.7794 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.002076/0.641, allocations: 1.067 MB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.6423, allocations: 486.5 kB / 1.037 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6423, allocations: 0 / 1.037 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.6431, allocations: 143 kB / 1.037 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.6435, allocations: 34.09 kB / 1.037 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.6479, allocations: 3.127 MB / 1.04 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.6482, allocations: 0.7866 MB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.805e-05/0.6483, allocations: 21.41 kB / 1.041 GB, free: 12.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.6484, allocations: 31.42 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.6484, allocations: 0 / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.6659, allocations: 6.516 MB / 1.047 GB, free: 6.453 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.6662, allocations: 231.4 kB / 1.048 GB, free: 6.195 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.385, allocations: 5.281 kB / 1.048 GB, free: 6.195 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)