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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001003/0.001003, allocations: 195.1 kB / 16.14 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.297/2.297, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.83 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5737, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002521/0.5763, allocations: 1.798 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.5775, allocations: 0.691 MB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.5775, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.234e-05/0.5776, allocations: 7.922 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.5777, allocations: 27.84 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.5784, allocations: 339 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.5788, allocations: 0.5422 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.5789, allocations: 28.89 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.5792, allocations: 311.1 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.5795, allocations: 171.1 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.48e-05/0.5795, allocations: 12 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.5796, allocations: 16 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.5798, allocations: 111.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.58, allocations: 210.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.5805, allocations: 0.59 MB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5805, allocations: 7.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5805, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.5805, allocations: 0 / 1.021 GB, free: 13.94 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.001099/0.5816, allocations: 0.8976 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5816, allocations: 12.03 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.5817, allocations: 42.73 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.5818, allocations: 52.47 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.5822, allocations: 338.1 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.5822, allocations: 20.55 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.5823, allocations: 36.3 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5834, allocations: 237.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5834, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.5834, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5834, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.5842, allocations: 115.9 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5854, allocations: 0.6837 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5865, allocations: 182.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.5873, allocations: 120.8 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.5873, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009615/0.5883, allocations: 227.1 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.5883, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00259/0.5909, allocations: 0.4907 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.591, allocations: 67.39 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.5914, allocations: 441.8 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.5914, allocations: 41.7 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.5915, allocations: 105.3 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.5916, allocations: 35.59 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5918, allocations: 141.3 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5919, allocations: 326.8 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.5922, allocations: 139.9 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.5925, allocations: 197.9 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.5929, allocations: 303 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5929, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008154/0.5937, allocations: 0.5255 MB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/0.5938, allocations: 97.72 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5938, allocations: 7.984 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5938, allocations: 192 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.594, allocations: 23.98 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.594, allocations: 11.92 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.5945, allocations: 59.73 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.5946, allocations: 55.98 kB / 1.027 GB, free: 7.621 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.0002137/0.5948, allocations: 220.3 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.5949, allocations: 39.52 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.5949, allocations: 43.78 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5949, allocations: 4 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5949, allocations: 0 / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.595, allocations: 7.875 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.5971, allocations: 0.7844 MB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5971, allocations: 0 / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.5971, allocations: 7.984 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5972, allocations: 3.938 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.5972, allocations: 27.86 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5972, allocations: 0 / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5972, allocations: 4 kB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.599, allocations: 475.7 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.5992, allocations: 244.4 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.5993, allocations: 23.94 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.5998, allocations: 31.97 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.5998, allocations: 7.984 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.5999, allocations: 63.97 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002775/0.6002, allocations: 315.1 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6002, allocations: 0 / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003224/0.6005, allocations: 71.98 kB / 1.03 GB, free: 5.176 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.002044/0.6026, allocations: 1.045 MB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.6038, allocations: 482.4 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6038, allocations: 0 / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.6046, allocations: 122.7 kB / 1.031 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.605, allocations: 42.05 kB / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.6091, allocations: 3.112 MB / 1.034 GB, free: 212 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.6094, allocations: 0.7907 MB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.6095, allocations: 13.42 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.6096, allocations: 31.42 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.6096, allocations: 0 / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.6256, allocations: 6.617 MB / 1.042 GB, free: 8.777 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.6258, allocations: 241.9 kB / 1.042 GB, free: 8.512 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.138, allocations: 0.9844 kB / 1.042 GB, free: 8.512 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)