Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.0008561/0.0008562, allocations: 91.84 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.005131/0.005131, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.144/2.144, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5868, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001553/0.5884, allocations: 1.444 MB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.5895, allocations: 0.6926 MB / 0.9573 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.5895, allocations: 0 / 0.9573 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.5896, allocations: 5 kB / 0.9573 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.5897, allocations: 30.97 kB / 0.9573 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.5903, allocations: 335.5 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.5907, allocations: 0.5328 MB / 0.9582 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.5908, allocations: 37.41 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.5911, allocations: 307.7 kB / 0.9585 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.5913, allocations: 167.2 kB / 0.9586 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.5914, allocations: 14.12 kB / 0.9587 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.5915, allocations: 13.25 kB / 0.9587 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5916, allocations: 121.5 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.5917, allocations: 226.3 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.5921, allocations: 0.569 MB / 0.9596 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5921, allocations: 4 kB / 0.9596 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5921, allocations: 0 / 0.9596 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5921, allocations: 0 / 0.9596 GB, free: 4.59 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.0007798/0.5929, allocations: 0.7774 MB / 0.9603 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.593, allocations: 9.625 kB / 0.9603 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.593, allocations: 45.42 kB / 0.9604 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.5931, allocations: 60.08 kB / 0.9604 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5934, allocations: 341 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.5935, allocations: 24.64 kB / 0.9608 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.5935, allocations: 28.06 kB / 0.9608 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.5945, allocations: 254.4 kB / 0.9611 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.5945, allocations: 4 kB / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.5945, allocations: 1.25 kB / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5946, allocations: 2.688 kB / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.5954, allocations: 119.8 kB / 0.9612 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.5964, allocations: 0.6837 MB / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.5974, allocations: 193.4 kB / 0.962 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.5982, allocations: 131.6 kB / 0.9622 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5982, allocations: 1.969 kB / 0.9622 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/0.5991, allocations: 253.5 kB / 0.9624 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.5991, allocations: 0 / 0.9624 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002533/0.6017, allocations: 0.5172 MB / 0.9629 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.6017, allocations: 60.84 kB / 0.963 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.6021, allocations: 439.6 kB / 0.9634 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.6021, allocations: 42.62 kB / 0.9634 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.6022, allocations: 106.4 kB / 0.9635 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.6022, allocations: 42.59 kB / 0.9636 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.6023, allocations: 35.86 kB / 0.9636 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.6024, allocations: 334.5 kB / 0.9639 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.6026, allocations: 139.6 kB / 0.964 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.6029, allocations: 191.2 kB / 0.9642 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.6032, allocations: 302.3 kB / 0.9645 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6032, allocations: 0.9688 kB / 0.9645 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007697/0.604, allocations: 0.5274 MB / 0.965 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.6041, allocations: 93.81 kB / 0.9651 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6041, allocations: 1.219 kB / 0.9651 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6041, allocations: 3.031 kB / 0.9651 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.6042, allocations: 26.23 kB / 0.9652 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6043, allocations: 2.938 kB / 0.9652 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.6047, allocations: 74.09 kB / 0.9652 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.6048, allocations: 57.08 kB / 0.9653 GB, free: 420 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.0002003/0.605, allocations: 220.7 kB / 0.9655 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.6051, allocations: 36.78 kB / 0.9655 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.6052, allocations: 48.88 kB / 0.9656 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6052, allocations: 2.156 kB / 0.9656 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6052, allocations: 0 / 0.9656 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6052, allocations: 8.875 kB / 0.9656 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.6073, allocations: 0.8017 MB / 0.9664 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6073, allocations: 4.969 kB / 0.9664 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.6074, allocations: 7.938 kB / 0.9664 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.6074, allocations: 4.969 kB / 0.9664 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.6074, allocations: 23.59 kB / 0.9664 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6074, allocations: 0.75 kB / 0.9664 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6074, allocations: 0 / 0.9664 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.6092, allocations: 496.6 kB / 0.9669 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.6095, allocations: 247.6 kB / 0.9671 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.6096, allocations: 27.03 kB / 0.9671 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.6101, allocations: 36.72 kB / 0.9672 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.6101, allocations: 7.953 kB / 0.9672 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.6102, allocations: 58.09 kB / 0.9672 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003058/0.6105, allocations: 317.7 kB / 0.9675 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6105, allocations: 0 / 0.9675 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003325/0.6108, allocations: 76.23 kB / 0.9676 GB, free: 14.87 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.002033/0.6129, allocations: 1.065 MB / 0.9687 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.6141, allocations: 484.4 kB / 0.9691 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6141, allocations: 0 / 0.9691 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.6149, allocations: 137.1 kB / 0.9692 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.6153, allocations: 38.67 kB / 0.9693 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.6197, allocations: 3.132 MB / 0.9723 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.62, allocations: 0.7868 MB / 0.9731 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.6201, allocations: 17.64 kB / 0.9731 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.6202, allocations: 30.77 kB / 0.9732 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.6202, allocations: 0 / 0.9732 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.086/1.706, allocations: 6.532 MB / 0.9795 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.707, allocations: 239.4 kB / 0.9798 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/3.652, allocations: 0 / 0.9798 GB, free: 5.586 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)