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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001542/0.001542, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.189/2.189, allocations: 390.2 MB / 0.6643 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4907, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002182/0.4929, allocations: 1.783 MB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.494, allocations: 0.6966 MB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.494, allocations: 1.188 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.372e-05/0.4941, allocations: 3.938 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.4943, allocations: 32.25 kB / 0.9515 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.4948, allocations: 342.8 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.4952, allocations: 0.5245 MB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.4953, allocations: 34.66 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.4956, allocations: 319.5 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.4958, allocations: 172.7 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.4959, allocations: 14.31 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.496, allocations: 15.66 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4962, allocations: 124.5 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.4963, allocations: 197.3 kB / 0.9532 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.4968, allocations: 0.5875 MB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4968, allocations: 1.438 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4968, allocations: 0 / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.4968, allocations: 0 / 0.9538 GB, free: 5.691 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.001042/0.4978, allocations: 0.8995 MB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.4979, allocations: 12.7 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.4979, allocations: 42.41 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.498, allocations: 56.31 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.4983, allocations: 332.4 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.4984, allocations: 29.33 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.4985, allocations: 23.94 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.4995, allocations: 244.9 kB / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4996, allocations: 0 / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.4996, allocations: 13.14 kB / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4996, allocations: 2.219 kB / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.5005, allocations: 110.6 kB / 0.9555 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.5016, allocations: 0.6766 MB / 0.9562 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.5026, allocations: 180 kB / 0.9563 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.5034, allocations: 118.4 kB / 0.9564 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.5034, allocations: 5.734 kB / 0.9565 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.5044, allocations: 226.7 kB / 0.9567 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.365e-06/0.5044, allocations: 0 / 0.9567 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002623/0.507, allocations: 0.4916 MB / 0.9571 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.5071, allocations: 68.42 kB / 0.9572 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.5074, allocations: 443.6 kB / 0.9576 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.5075, allocations: 41.69 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.5076, allocations: 106.2 kB / 0.9578 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.5076, allocations: 33.36 kB / 0.9578 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.5078, allocations: 136.8 kB / 0.9579 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.5078, allocations: 326.4 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.5081, allocations: 143.3 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.5084, allocations: 194.3 kB / 0.9586 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.5088, allocations: 306.4 kB / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5088, allocations: 1.094 kB / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008077/0.5096, allocations: 0.5181 MB / 0.9594 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.5096, allocations: 101.9 kB / 0.9595 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5097, allocations: 5.406 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5097, allocations: 3.375 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.5098, allocations: 17.95 kB / 0.9595 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5099, allocations: 7.031 kB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.5104, allocations: 66.2 kB / 0.9596 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.5105, allocations: 68.52 kB / 0.9596 GB, free: 1.41 MB / 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.0001833/0.5107, allocations: 221.2 kB / 0.9598 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.5107, allocations: 36.97 kB / 0.9599 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.5108, allocations: 40.47 kB / 0.9599 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5108, allocations: 2.406 kB / 0.9599 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5108, allocations: 3.938 kB / 0.9599 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5108, allocations: 5.219 kB / 0.9599 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.5129, allocations: 0.7747 MB / 0.9607 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5129, allocations: 5.094 kB / 0.9607 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.513, allocations: 8.094 kB / 0.9607 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.513, allocations: 0 / 0.9607 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.513, allocations: 27.53 kB / 0.9607 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.513, allocations: 1.25 kB / 0.9607 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.513, allocations: 9.047 kB / 0.9607 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.5149, allocations: 476.7 kB / 0.9612 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.5151, allocations: 247.9 kB / 0.9614 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.5152, allocations: 23.42 kB / 0.9614 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.5157, allocations: 26.91 kB / 0.9615 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.5158, allocations: 12.3 kB / 0.9615 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.5158, allocations: 57.28 kB / 0.9615 GB, free: 92 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002998/0.5161, allocations: 318.1 kB / 0.9618 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5161, allocations: 0 / 0.9618 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003578/0.5165, allocations: 72.7 kB / 0.9619 GB, free: 15.89 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.00217/0.5187, allocations: 1.044 MB / 0.9629 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.52, allocations: 476.4 kB / 0.9634 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5201, allocations: 4 kB / 0.9634 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.5209, allocations: 122.2 kB / 0.9635 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5213, allocations: 38.67 kB / 0.9635 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.5258, allocations: 3.112 MB / 0.9666 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5261, allocations: 0.7871 MB / 0.9673 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.5262, allocations: 13.23 kB / 0.9674 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.5263, allocations: 35.14 kB / 0.9674 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/0.5263, allocations: 4 kB / 0.9674 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.837/2.364, allocations: 6.619 MB / 0.9739 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/2.364, allocations: 224.7 kB / 0.9741 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/4.076, allocations: 0 / 0.9741 GB, free: 7.805 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)