Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.00557/0.00557, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00149/0.00149, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001802, allocations: 68.11 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3158, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002927/0.3188, allocations: 1.729 MB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3201, allocations: 0.6184 MB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.3202, allocations: 3.938 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3203, allocations: 11.86 kB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3205, allocations: 35.78 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/0.3214, allocations: 363.3 kB / 1.245 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00075/0.3221, allocations: 0.6321 MB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3222, allocations: 33.09 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.3227, allocations: 311.6 kB / 1.246 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.3231, allocations: 159.5 kB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3232, allocations: 47.94 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3233, allocations: 40 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3235, allocations: 127.6 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.3237, allocations: 215 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.3243, allocations: 0.6033 MB / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3243, allocations: 0 / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3243, allocations: 0 / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.3243, allocations: 0 / 1.247 GB, free: 4.898 MB / 0.9981 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.001411/0.3257, allocations: 0.917 MB / 1.248 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3258, allocations: 12.02 kB / 1.248 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.3259, allocations: 42.75 kB / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.326, allocations: 56.66 kB / 1.248 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3264, allocations: 338.5 kB / 1.248 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.3264, allocations: 16.38 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.3265, allocations: 32.36 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/0.3274, allocations: 240.2 kB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3275, allocations: 3.938 kB / 1.248 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3275, allocations: 7.984 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3275, allocations: 4 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.3282, allocations: 107.9 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3294, allocations: 0.672 MB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.3304, allocations: 182.5 kB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.3311, allocations: 121 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3311, allocations: 0 / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.332, allocations: 239.2 kB / 1.25 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.332, allocations: 0 / 1.25 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002345/0.3344, allocations: 499.9 kB / 1.25 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3344, allocations: 63.39 kB / 1.25 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.3349, allocations: 441.9 kB / 1.251 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.3349, allocations: 41.7 kB / 1.251 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.335, allocations: 105.3 kB / 1.251 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.335, allocations: 47.67 kB / 1.251 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.3352, allocations: 133.5 kB / 1.251 GB, free: 384 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3354, allocations: 326.8 kB / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5255/0.8609, allocations: 133.6 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.8613, allocations: 190.6 kB / 1.251 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.8616, allocations: 300.3 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8616, allocations: 1.625 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008187/0.8625, allocations: 0.5183 MB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.8625, allocations: 97.98 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8625, allocations: 1.812 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8626, allocations: 4.531 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8627, allocations: 20.41 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8628, allocations: 8.719 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.8632, allocations: 61 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.8633, allocations: 66.33 kB / 1.253 GB, free: 14.46 MB / 0.9981 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.0002453/0.8636, allocations: 218.1 kB / 1.253 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.8636, allocations: 40.81 kB / 1.253 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.8637, allocations: 44.67 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8637, allocations: 2.469 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8637, allocations: 0 / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8637, allocations: 1.828 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.8657, allocations: 0.7891 MB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8657, allocations: 2.734 kB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.8658, allocations: 5.547 kB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8658, allocations: 4.25 kB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.8658, allocations: 21.75 kB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8658, allocations: 5.406 kB / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8658, allocations: 0 / 1.254 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.8674, allocations: 487 kB / 1.254 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.8677, allocations: 241.9 kB / 1.254 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.8678, allocations: 19.56 kB / 1.254 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.8682, allocations: 35.53 kB / 1.254 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.8682, allocations: 12.27 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.8683, allocations: 56.05 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002925/0.8686, allocations: 319.8 kB / 1.255 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8686, allocations: 0 / 1.255 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003268/0.8689, allocations: 73.12 kB / 1.255 GB, free: 13.6 MB / 0.9981 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.00184/0.8708, allocations: 1.046 MB / 1.256 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.872, allocations: 471.2 kB / 1.256 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.872, allocations: 3.625 kB / 1.256 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.8727, allocations: 125.5 kB / 1.256 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.8731, allocations: 41.03 kB / 1.256 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.8767, allocations: 3.022 MB / 1.259 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.877, allocations: 0.787 MB / 1.26 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.774e-05/0.877, allocations: 12.95 kB / 1.26 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.8771, allocations: 34.22 kB / 1.26 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.8771, allocations: 4.938 kB / 1.26 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.162/2.039, allocations: 6.711 MB / 1.267 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/18.05, allocations: 14.61 kB / 1.267 GB, free: 8.691 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)