Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004045/0.004045, allocations: 103.8 kB / 15.74 MB, free: 6.039 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.0009811/0.0009811, allocations: 195.1 kB / 16.68 MB, free: 5.953 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 64.09 kB / 0.9504 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6176, allocations: 140.4 MB / 1.088 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002215/0.6198, allocations: 1.74 MB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.6209, allocations: 0.6158 MB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.621, allocations: 1.25 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.744e-05/0.6211, allocations: 10.17 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.6212, allocations: 35.77 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.6219, allocations: 366.2 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.6224, allocations: 0.6291 MB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.6225, allocations: 33.75 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.6229, allocations: 309.7 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.6232, allocations: 156.7 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.657e-05/0.6233, allocations: 44.5 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.6234, allocations: 41.22 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.6235, allocations: 132.3 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.6237, allocations: 217.8 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.6242, allocations: 0.6009 MB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6243, allocations: 0.6875 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6243, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.6243, allocations: 0.8125 kB / 1.092 GB, free: 2.512 MB / 0.8575 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.00108/0.6254, allocations: 0.8999 MB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.6254, allocations: 14.47 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.6255, allocations: 40.84 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.6256, allocations: 52.45 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.6259, allocations: 337.3 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.626, allocations: 18.7 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.6261, allocations: 31.06 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6271, allocations: 236.4 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6272, allocations: 3.938 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.6272, allocations: 2.938 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6272, allocations: 5.469 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.628, allocations: 117.5 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.6293, allocations: 0.6762 MB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.6305, allocations: 177.1 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.6313, allocations: 121.9 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.6313, allocations: 3.203 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009938/0.6323, allocations: 230.7 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.6324, allocations: 4 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002717/0.6351, allocations: 495.6 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6351, allocations: 66.52 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.6355, allocations: 444.3 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.6356, allocations: 40.2 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.6357, allocations: 101.3 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.6357, allocations: 37.25 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6359, allocations: 133 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.636, allocations: 330.2 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.6363, allocations: 138.6 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6367, allocations: 192.5 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.6371, allocations: 307.5 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6371, allocations: 1.344 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009005/0.638, allocations: 0.5157 MB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.6381, allocations: 94.64 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6381, allocations: 1.062 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6381, allocations: 7.469 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6383, allocations: 24.23 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6383, allocations: 3 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.6388, allocations: 53.88 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.6389, allocations: 65.95 kB / 1.098 GB, free: 15.02 MB / 0.8731 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.0002535/0.6392, allocations: 229.9 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.6392, allocations: 38.2 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.6393, allocations: 41.98 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6393, allocations: 2.406 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6393, allocations: 1 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6393, allocations: 0.7031 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.6417, allocations: 0.7891 MB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6417, allocations: 0.9375 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.6418, allocations: 9.484 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6418, allocations: 0 / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.6418, allocations: 22.8 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.6419, allocations: 5.312 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6419, allocations: 0.6562 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.6438, allocations: 479.5 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.6441, allocations: 245.8 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.6442, allocations: 24.53 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.6447, allocations: 36.31 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.6448, allocations: 7.75 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.6448, allocations: 56.12 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003386/0.6452, allocations: 319.4 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6452, allocations: 0 / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000396/0.6456, allocations: 67.5 kB / 1.1 GB, free: 13.82 MB / 0.8731 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.00229/0.6479, allocations: 1.054 MB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.6492, allocations: 472 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6492, allocations: 1.375 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.6501, allocations: 127.5 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.6505, allocations: 33.03 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.6549, allocations: 3.01 MB / 1.105 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6552, allocations: 0.7823 MB / 1.106 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.6553, allocations: 17.34 kB / 1.106 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.6554, allocations: 30.14 kB / 1.106 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.6554, allocations: 0 / 1.106 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3152/0.9706, allocations: 6.715 MB / 1.112 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/8.124, allocations: 8.953 kB / 1.112 GB, free: 8.848 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)