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.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.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.008075/0.008075, allocations: 101.8 kB / 15.73 MB, free: 6 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.001781/0.001781, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.315/1.315, 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.192/2.192, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 67.89 kB / 0.9505 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8074, allocations: 140.4 MB / 1.088 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002532/0.81, allocations: 1.731 MB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.8112, allocations: 0.6302 MB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.8113, allocations: 1.125 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.8113, allocations: 18.67 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.8115, allocations: 32.27 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.8123, allocations: 361.2 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.813, allocations: 0.6287 MB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8131, allocations: 30.03 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.8135, allocations: 319.9 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.8138, allocations: 156.4 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.8139, allocations: 41.09 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.814, allocations: 41 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.8142, allocations: 127.5 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.8143, allocations: 217.4 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.815, allocations: 0.5976 MB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.815, allocations: 0.7188 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.815, allocations: 0 / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.815, allocations: 0 / 1.092 GB, free: 2.418 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.001232/0.8163, allocations: 0.9094 MB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8163, allocations: 9.438 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.8164, allocations: 40.52 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.8165, allocations: 52.62 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.8169, allocations: 333.4 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.817, allocations: 18.98 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.8171, allocations: 31 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.8182, allocations: 240.4 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.8182, allocations: 4.719 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.8183, allocations: 1.609 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.8183, allocations: 2.688 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.8191, allocations: 112.5 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.8208, allocations: 0.6802 MB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.822, allocations: 181.6 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007665/0.8228, allocations: 118.7 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.8228, allocations: 2.531 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.8238, allocations: 234.7 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.8238, allocations: 0 / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002754/0.8266, allocations: 0.4982 MB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.8266, allocations: 62.41 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.8272, allocations: 439.7 kB / 1.096 GB, free: 172 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.8273, allocations: 40.89 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.8274, allocations: 100.6 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.8275, allocations: 41.23 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.8278, allocations: 133.3 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8279, allocations: 334.5 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.8282, allocations: 135.1 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.8286, allocations: 191.7 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.829, allocations: 307.9 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8291, allocations: 1.094 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.8301, allocations: 0.5199 MB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.8302, allocations: 93.47 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8302, allocations: 2.125 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.8302, allocations: 2.906 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.8304, allocations: 24.25 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.8304, allocations: 7.203 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.831, allocations: 54.58 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.8311, allocations: 69.66 kB / 1.098 GB, free: 14.9 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.0003234/0.8314, allocations: 218.3 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.8315, allocations: 37.78 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.8316, allocations: 38.56 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8316, allocations: 1.562 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.8316, allocations: 0.9688 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8316, allocations: 1.453 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.834, allocations: 0.79 MB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.834, allocations: 1.031 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.8341, allocations: 4.312 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8341, allocations: 1.156 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.8342, allocations: 27.02 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.8342, allocations: 5.766 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8342, allocations: 3.938 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.836, allocations: 479.1 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.8364, allocations: 245.5 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.8365, allocations: 21.06 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.837, allocations: 31.95 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.8371, allocations: 12.22 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.8372, allocations: 56.23 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004891/0.8377, allocations: 319.5 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8377, allocations: 0 / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007855/0.8385, allocations: 71.16 kB / 1.1 GB, free: 13.71 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.002401/0.8409, allocations: 1.053 MB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.8425, allocations: 475.3 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8425, allocations: 0 / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.8433, allocations: 126.6 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.8438, allocations: 37.17 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.8486, allocations: 3.008 MB / 1.105 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.849, allocations: 0.788 MB / 1.106 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.334e-05/0.8491, allocations: 12.38 kB / 1.106 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.8492, allocations: 33.73 kB / 1.106 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of SimCode: time 1.222e-06/0.8492, allocations: 1.562 kB / 1.106 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.8798, allocations: 6.844 MB / 1.112 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.569, allocations: 4.688 kB / 1.112 GB, free: 8.684 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches