Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.001157/0.001157, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7949, allocations: 142.3 MB / 0.9536 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00199/0.797, allocations: 1.349 MB / 0.9549 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.7979, allocations: 453.4 kB / 0.9554 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.798, allocations: 1 kB / 0.9554 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.798, allocations: 7.922 kB / 0.9554 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.7982, allocations: 32.83 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.7988, allocations: 225.3 kB / 0.9556 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.7991, allocations: 191.7 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.7992, allocations: 25.39 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.7995, allocations: 183.5 kB / 0.956 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.7997, allocations: 134.2 kB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.7998, allocations: 10.12 kB / 0.9562 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.7998, allocations: 14.44 kB / 0.9562 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.8, allocations: 79.88 kB / 0.9562 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.8, allocations: 78.67 kB / 0.9563 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.8003, allocations: 328.3 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.8004, allocations: 0 / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8004, allocations: 0 / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.8004, allocations: 0 / 0.9566 GB, free: 6.141 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.0008782/0.8013, allocations: 0.6801 MB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.8013, allocations: 12.78 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.8014, allocations: 42.14 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.8015, allocations: 35.53 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.8018, allocations: 273.6 kB / 0.9576 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.8019, allocations: 23.36 kB / 0.9577 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.802, allocations: 20.27 kB / 0.9577 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.8029, allocations: 233 kB / 0.9579 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8029, allocations: 0 / 0.9579 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.803, allocations: 5.375 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.803, allocations: 1.375 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.8037, allocations: 125.2 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.8048, allocations: 0.568 MB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.8058, allocations: 196.6 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.8059, allocations: 6.297 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.8068, allocations: 225.1 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.494e-06/0.8068, allocations: 1.094 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002391/0.8092, allocations: 499.6 kB / 0.9595 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.8092, allocations: 60.55 kB / 0.9595 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.8095, allocations: 312.7 kB / 0.9598 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.8096, allocations: 40.14 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.8097, allocations: 99.23 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.8097, allocations: 37.05 kB / 0.96 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.8097, allocations: 4.656 kB / 0.96 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.8098, allocations: 329.8 kB / 0.9603 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.81, allocations: 92.25 kB / 0.9604 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.8102, allocations: 149.1 kB / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.8105, allocations: 175.1 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8105, allocations: 0 / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006487/0.8111, allocations: 417.4 kB / 0.9611 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.8112, allocations: 76.42 kB / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8112, allocations: 0.9688 kB / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8113, allocations: 10.89 kB / 0.9612 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.8114, allocations: 22.83 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8114, allocations: 7.141 kB / 0.9612 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.8119, allocations: 59.53 kB / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.812, allocations: 43.05 kB / 0.9613 GB, free: 2.555 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.8122, allocations: 195.5 kB / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.8123, allocations: 28 kB / 0.9615 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.8124, allocations: 28.64 kB / 0.9616 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8124, allocations: 5.891 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.8124, allocations: 4.828 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8124, allocations: 0 / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.8144, allocations: 0.7562 MB / 0.9623 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8145, allocations: 1.156 kB / 0.9623 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.8145, allocations: 7.766 kB / 0.9623 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.8145, allocations: 5.047 kB / 0.9623 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.8145, allocations: 11.77 kB / 0.9623 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8146, allocations: 5.047 kB / 0.9623 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8146, allocations: 1.125 kB / 0.9623 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.8162, allocations: 477.8 kB / 0.9628 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.8164, allocations: 188.1 kB / 0.963 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.8165, allocations: 23.44 kB / 0.963 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.8169, allocations: 30.94 kB / 0.963 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.817, allocations: 14.98 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.817, allocations: 36.33 kB / 0.9631 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002231/0.8172, allocations: 236.1 kB / 0.9633 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8172, allocations: 0 / 0.9633 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004001/0.8176, allocations: 51.47 kB / 0.9633 GB, free: 1.148 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/0.8195, allocations: 1.029 MB / 0.9644 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.8207, allocations: 406.2 kB / 0.9647 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8207, allocations: 4.062 kB / 0.9647 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.8214, allocations: 132.2 kB / 0.9649 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.8217, allocations: 25.92 kB / 0.9649 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.8239, allocations: 1.715 MB / 0.9666 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.8243, allocations: 0.7576 MB / 0.9673 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.8244, allocations: 17.3 kB / 0.9673 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.8244, allocations: 30.7 kB / 0.9674 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.8244, allocations: 0 / 0.9674 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.8414, allocations: 5.041 MB / 0.9723 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.8416, allocations: 210.7 kB / 0.9725 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.547, allocations: 6.188 kB / 0.9725 GB, free: 11.02 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat