Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.009383/0.009383, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001942/0.001942, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.468/2.468, allocations: 437.1 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8116, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002903/0.8146, allocations: 1.742 MB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.816, allocations: 0.6246 MB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.816, allocations: 7.875 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.8162, allocations: 15.86 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.8163, allocations: 39.56 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.8172, allocations: 353.7 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.8179, allocations: 0.6477 MB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.818, allocations: 25.11 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.8184, allocations: 311.6 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.8187, allocations: 159.5 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.8188, allocations: 40 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.8189, allocations: 44 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.819, allocations: 127.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.8193, allocations: 215 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.8198, allocations: 0.598 MB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8199, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.306e-06/0.8199, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.8199, allocations: 3.938 kB / 1.171 GB, free: 14.83 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.00129/0.8212, allocations: 0.9015 MB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8212, allocations: 8.922 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.8213, allocations: 42.73 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.8214, allocations: 56.47 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.8219, allocations: 330.2 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.8219, allocations: 20.31 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/0.822, allocations: 36.3 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.823, allocations: 237.9 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8231, allocations: 3.938 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.8231, allocations: 0 / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.8231, allocations: 8 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.8239, allocations: 115.9 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.8251, allocations: 0.6681 MB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.8261, allocations: 182.5 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.8269, allocations: 117.7 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.8269, allocations: 4 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.8279, allocations: 235 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.8279, allocations: 3.938 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002464/0.8304, allocations: 494.8 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.8305, allocations: 67.39 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.831, allocations: 441.9 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.8311, allocations: 37.7 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.8312, allocations: 105.3 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.8313, allocations: 43.45 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.8315, allocations: 137.2 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8317, allocations: 326.8 kB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.832, allocations: 139.9 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.8323, allocations: 204.9 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.8328, allocations: 299.5 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8328, allocations: 0 / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008418/0.8336, allocations: 0.5223 MB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/0.8337, allocations: 95.38 kB / 1.177 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8337, allocations: 0 / 1.177 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8338, allocations: 4 kB / 1.177 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.8339, allocations: 15.98 kB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8339, allocations: 8.125 kB / 1.177 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.8344, allocations: 59.86 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.8345, allocations: 67.91 kB / 1.177 GB, free: 8.52 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.0002613/0.8348, allocations: 212.3 kB / 1.177 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.8348, allocations: 35.53 kB / 1.177 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.8349, allocations: 55.7 kB / 1.177 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8349, allocations: 7.938 kB / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8349, allocations: 0 / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8349, allocations: 0 / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.8371, allocations: 0.7896 MB / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8372, allocations: 0 / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.8372, allocations: 7.938 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8372, allocations: 4 kB / 1.178 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.8373, allocations: 27.91 kB / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8373, allocations: 0 / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8373, allocations: 0 / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.8389, allocations: 475.3 kB / 1.178 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.8392, allocations: 244.4 kB / 1.179 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.8393, allocations: 23.92 kB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.8398, allocations: 27.97 kB / 1.179 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.8398, allocations: 15.98 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.8399, allocations: 55.97 kB / 1.179 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003839/0.8403, allocations: 319.1 kB / 1.179 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8403, allocations: 0 / 1.179 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003861/0.8407, allocations: 71.89 kB / 1.179 GB, free: 6.086 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.002029/0.8427, allocations: 1.038 MB / 1.18 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.8441, allocations: 482.4 kB / 1.181 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8441, allocations: 0 / 1.181 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.8448, allocations: 123.8 kB / 1.181 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.8452, allocations: 42.97 kB / 1.181 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.8497, allocations: 3.002 MB / 1.184 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.8501, allocations: 0.7786 MB / 1.184 GB, free: 436 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.957e-05/0.8502, allocations: 13.44 kB / 1.184 GB, free: 424 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.8502, allocations: 35.42 kB / 1.184 GB, free: 388 kB / 0.9044 GB Notification: Performance of SimCode: time 2.594e-06/0.8502, allocations: 0 / 1.184 GB, free: 388 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.8828, allocations: 6.727 MB / 1.191 GB, free: 9.699 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.714, allocations: 0 / 1.191 GB, free: 9.699 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches