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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008801/0.0008801, allocations: 97.64 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.005181/0.005182, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.161/1.161, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002597, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4772, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001231/0.4785, allocations: 1.439 MB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.4795, allocations: 0.6931 MB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.4795, allocations: 0 / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/0.4796, allocations: 9.125 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.4797, allocations: 31.91 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.4802, allocations: 334.1 kB / 0.9576 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.4805, allocations: 0.532 MB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.4806, allocations: 29.95 kB / 0.9582 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.481, allocations: 311.2 kB / 0.9585 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.4812, allocations: 175.6 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.4813, allocations: 14.09 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.4813, allocations: 13.91 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.4814, allocations: 116.9 kB / 0.9588 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4816, allocations: 226.4 kB / 0.959 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.482, allocations: 0.569 MB / 0.9596 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.482, allocations: 4 kB / 0.9596 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.482, allocations: 0 / 0.9596 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.482, allocations: 0 / 0.9596 GB, free: 4.484 MB / 0.7169 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.0007351/0.4827, allocations: 0.7788 MB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.4828, allocations: 9.625 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.4828, allocations: 37.5 kB / 0.9604 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.4829, allocations: 56.64 kB / 0.9604 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.4832, allocations: 344.2 kB / 0.9608 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.4832, allocations: 20.52 kB / 0.9608 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.4833, allocations: 28.72 kB / 0.9608 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.4842, allocations: 252.7 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.4842, allocations: 1 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4843, allocations: 5.016 kB / 0.961 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4843, allocations: 1.906 kB / 0.961 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.485, allocations: 124.9 kB / 0.9612 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009838/0.486, allocations: 0.6839 MB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.487, allocations: 193.2 kB / 0.962 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.4878, allocations: 130.8 kB / 0.9621 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4878, allocations: 2.094 kB / 0.9621 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.4887, allocations: 251.1 kB / 0.9624 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.4887, allocations: 0 / 0.9624 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002377/0.491, allocations: 0.5186 MB / 0.9629 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.4911, allocations: 61.69 kB / 0.963 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.4914, allocations: 436.4 kB / 0.9634 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.4914, allocations: 46.66 kB / 0.9634 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.4915, allocations: 103.1 kB / 0.9635 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4915, allocations: 38.86 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.4916, allocations: 35.73 kB / 0.9636 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.4917, allocations: 337.7 kB / 0.9639 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4919, allocations: 140.4 kB / 0.964 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4922, allocations: 197.7 kB / 0.9642 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.4925, allocations: 301.3 kB / 0.9645 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4925, allocations: 0.6875 kB / 0.9645 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007154/0.4932, allocations: 0.5262 MB / 0.965 GB, free: 456 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.4933, allocations: 99.16 kB / 0.9651 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4933, allocations: 1.125 kB / 0.9651 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4933, allocations: 3.125 kB / 0.9651 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4934, allocations: 18.33 kB / 0.9651 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4935, allocations: 6.938 kB / 0.9652 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.4939, allocations: 78.28 kB / 0.9652 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/0.494, allocations: 60.42 kB / 0.9653 GB, free: 312 kB / 0.7169 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.0001752/0.4942, allocations: 221.1 kB / 0.9655 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.4942, allocations: 36.97 kB / 0.9655 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.4943, allocations: 44.88 kB / 0.9656 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4943, allocations: 1.781 kB / 0.9656 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4943, allocations: 0 / 0.9656 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4943, allocations: 8.938 kB / 0.9656 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4964, allocations: 0.804 MB / 0.9664 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4964, allocations: 3.938 kB / 0.9664 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.4964, allocations: 8.031 kB / 0.9664 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4964, allocations: 1.094 kB / 0.9664 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.4965, allocations: 23.59 kB / 0.9664 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4965, allocations: 0.9688 kB / 0.9664 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4965, allocations: 4 kB / 0.9664 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4982, allocations: 495 kB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.4984, allocations: 247.6 kB / 0.9671 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.4985, allocations: 18.97 kB / 0.9671 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.499, allocations: 40.56 kB / 0.9672 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.499, allocations: 9.047 kB / 0.9672 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.4991, allocations: 57.47 kB / 0.9672 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002779/0.4994, allocations: 317.5 kB / 0.9675 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.4994, allocations: 0 / 0.9675 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000321/0.4997, allocations: 76.05 kB / 0.9676 GB, free: 14.77 MB / 0.7325 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.001944/0.5016, allocations: 1.064 MB / 0.9687 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.5028, allocations: 484.7 kB / 0.9691 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5029, allocations: 0 / 0.9691 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.5036, allocations: 142.2 kB / 0.9692 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.504, allocations: 38.81 kB / 0.9693 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.508, allocations: 3.125 MB / 0.9723 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5083, allocations: 0.7912 MB / 0.9731 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.154e-05/0.5084, allocations: 17.95 kB / 0.9731 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.5085, allocations: 30.39 kB / 0.9732 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5085, allocations: 0 / 0.9732 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.373/0.8814, allocations: 6.525 MB / 0.9795 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.8817, allocations: 229.1 kB / 0.9797 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.529, allocations: 0 / 0.9797 GB, free: 5.59 MB / 0.7325 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)