Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.005962/0.005962, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001228/0.001229, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8354, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003255/0.8387, allocations: 1.75 MB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.8401, allocations: 0.6221 MB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.8402, allocations: 4 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.8404, allocations: 11.86 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.8406, allocations: 39.56 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.8417, allocations: 361 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.8423, allocations: 0.6398 MB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.8425, allocations: 33.05 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.8429, allocations: 315.6 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.8433, allocations: 160.8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.8435, allocations: 40 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.8436, allocations: 40 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.8438, allocations: 119.7 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.844, allocations: 219 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.8445, allocations: 0.598 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8445, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8446, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.8446, allocations: 4 kB / 1.171 GB, free: 14.85 MB / 0.9044 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.001515/0.8461, allocations: 0.9014 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.8461, allocations: 8.922 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.8462, allocations: 46.69 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.8464, allocations: 56.45 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.8468, allocations: 330.2 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.8469, allocations: 20.36 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.8469, allocations: 28.38 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.8479, allocations: 241.9 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.8479, allocations: 7.875 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.848, allocations: 7.969 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.848, allocations: 4 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/0.8487, allocations: 115.9 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.85, allocations: 0.6643 MB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.8509, allocations: 186.4 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.8517, allocations: 114.2 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.8517, allocations: 0 / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/0.8527, allocations: 246 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.8527, allocations: 0 / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002376/0.8551, allocations: 496.8 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.8551, allocations: 67.38 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.8556, allocations: 437.9 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.8557, allocations: 45.69 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.8558, allocations: 101.3 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.8558, allocations: 35.47 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.856, allocations: 141.3 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8561, allocations: 330.8 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.8564, allocations: 135.9 kB / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.8567, allocations: 189.9 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.8571, allocations: 307.2 kB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8571, allocations: 3.938 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000827/0.858, allocations: 0.5186 MB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.858, allocations: 95.38 kB / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8581, allocations: 4 kB / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8581, allocations: 0 / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.8582, allocations: 23.92 kB / 1.177 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.8583, allocations: 4 kB / 1.177 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.8587, allocations: 63.98 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.8588, allocations: 67.92 kB / 1.177 GB, free: 8.535 MB / 0.9044 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.0002256/0.8591, allocations: 224.3 kB / 1.177 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.8591, allocations: 35.53 kB / 1.177 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.8592, allocations: 39.78 kB / 1.177 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8592, allocations: 7.938 kB / 1.177 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8592, allocations: 0 / 1.177 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8592, allocations: 0 / 1.177 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.8612, allocations: 0.7911 MB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8613, allocations: 0 / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.8613, allocations: 4 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8613, allocations: 0 / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.8614, allocations: 31.91 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8614, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8614, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.863, allocations: 484.4 kB / 1.178 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.8633, allocations: 244.4 kB / 1.179 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.8633, allocations: 19.94 kB / 1.179 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.8638, allocations: 27.97 kB / 1.179 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.8638, allocations: 11.98 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.8639, allocations: 59.97 kB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003169/0.8642, allocations: 315.1 kB / 1.179 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8642, allocations: 0 / 1.179 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003654/0.8646, allocations: 75.89 kB / 1.179 GB, free: 6.102 MB / 0.9044 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.001945/0.8666, allocations: 1.042 MB / 1.18 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.8678, allocations: 470.5 kB / 1.181 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8678, allocations: 8.312 kB / 1.181 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.8685, allocations: 119.9 kB / 1.181 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.8689, allocations: 39.97 kB / 1.181 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.8733, allocations: 3.004 MB / 1.184 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.8737, allocations: 0.7903 MB / 1.184 GB, free: 448 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.384e-05/0.8738, allocations: 17.41 kB / 1.184 GB, free: 432 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.8739, allocations: 31.42 kB / 1.184 GB, free: 400 kB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/0.8739, allocations: 4 kB / 1.184 GB, free: 396 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.8992, allocations: 6.721 MB / 1.191 GB, free: 9.719 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.512, allocations: 4.062 kB / 1.191 GB, free: 9.715 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches