Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 64.09 kB / 1.134 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 173.9 MB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.005075/1.022, allocations: 1.759 MB / 1.306 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001765/1.023, allocations: 0.6269 MB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/1.024, allocations: 1.531 kB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/1.024, allocations: 10.5 kB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/1.024, allocations: 36.86 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.025, allocations: 357.1 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009649/1.026, allocations: 0.5967 MB / 1.307 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/1.026, allocations: 30.2 kB / 1.307 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/1.027, allocations: 312.6 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/1.027, allocations: 154.4 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.694e-05/1.027, allocations: 44.08 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/1.027, allocations: 44.81 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/1.027, allocations: 137.1 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/1.028, allocations: 215.4 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009707/1.029, allocations: 0.5913 MB / 1.309 GB, free: 12.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.029, allocations: 1.438 kB / 1.309 GB, free: 12.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/1.029, allocations: 0 / 1.309 GB, free: 12.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.029, allocations: 0.5156 kB / 1.309 GB, free: 12.89 MB / 1.014 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.001689/1.03, allocations: 0.9199 MB / 1.31 GB, free: 12.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.03, allocations: 10.17 kB / 1.31 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/1.03, allocations: 44.59 kB / 1.31 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/1.031, allocations: 53.19 kB / 1.31 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/1.031, allocations: 337.5 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/1.031, allocations: 19.2 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/1.031, allocations: 30.7 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/1.032, allocations: 234.8 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.032, allocations: 7.938 kB / 1.31 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/1.033, allocations: 2.344 kB / 1.31 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.033, allocations: 2.406 kB / 1.31 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/1.033, allocations: 117.3 kB / 1.311 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/1.035, allocations: 0.6793 MB / 1.311 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00097/1.036, allocations: 172.7 kB / 1.311 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/1.037, allocations: 116.2 kB / 1.311 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.037, allocations: 2.406 kB / 1.311 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009431/1.038, allocations: 226.6 kB / 1.312 GB, free: 10.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/1.038, allocations: 0 / 1.312 GB, free: 10.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002546/1.04, allocations: 498.8 kB / 1.312 GB, free: 10.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.04, allocations: 67.73 kB / 1.312 GB, free: 10.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/1.041, allocations: 448 kB / 1.313 GB, free: 10.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.041, allocations: 42.44 kB / 1.313 GB, free: 10.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.041, allocations: 101.5 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/1.041, allocations: 37.73 kB / 1.313 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.041, allocations: 148.2 kB / 1.313 GB, free: 10.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.042, allocations: 326 kB / 1.313 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.042, allocations: 135 kB / 1.313 GB, free: 9.672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.042, allocations: 189.2 kB / 1.314 GB, free: 9.543 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/1.043, allocations: 300 kB / 1.314 GB, free: 9.312 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.043, allocations: 4 kB / 1.314 GB, free: 9.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008985/1.043, allocations: 0.5164 MB / 1.314 GB, free: 9.027 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.044, allocations: 97.56 kB / 1.314 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.044, allocations: 2.094 kB / 1.314 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.044, allocations: 2.438 kB / 1.314 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.044, allocations: 26.98 kB / 1.314 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.044, allocations: 10.11 kB / 1.314 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/1.044, allocations: 58.03 kB / 1.315 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/1.044, allocations: 60.58 kB / 1.315 GB, free: 8.887 MB / 1.014 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.0003273/1.045, allocations: 213.4 kB / 1.315 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/1.045, allocations: 45.03 kB / 1.315 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/1.045, allocations: 44.75 kB / 1.315 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.045, allocations: 6.266 kB / 1.315 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.045, allocations: 0 / 1.315 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.045, allocations: 1.031 kB / 1.315 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/1.047, allocations: 0.8013 MB / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.047, allocations: 0 / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/1.047, allocations: 3.656 kB / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.047, allocations: 1.062 kB / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/1.047, allocations: 27.81 kB / 1.316 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.047, allocations: 1.062 kB / 1.316 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.047, allocations: 1.156 kB / 1.316 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/1.049, allocations: 484.4 kB / 1.316 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.049, allocations: 243.9 kB / 1.316 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/1.05, allocations: 22.31 kB / 1.316 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/1.05, allocations: 31.5 kB / 1.316 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/1.05, allocations: 8.547 kB / 1.316 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/1.05, allocations: 60.88 kB / 1.317 GB, free: 7.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004073/1.051, allocations: 318 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.051, allocations: 1.406 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004988/1.051, allocations: 67.33 kB / 1.317 GB, free: 7.355 MB / 1.014 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.00219/1.053, allocations: 1.038 MB / 1.318 GB, free: 6.543 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.055, allocations: 444.3 kB / 1.318 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.055, allocations: 0 / 1.318 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/1.055, allocations: 113.3 kB / 1.318 GB, free: 6.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/1.056, allocations: 46.97 kB / 1.318 GB, free: 6.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/1.061, allocations: 3.022 MB / 1.321 GB, free: 3.961 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/1.061, allocations: 0.7864 MB / 1.322 GB, free: 3.211 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.271e-05/1.061, allocations: 22.14 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/1.062, allocations: 30.17 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of SimCode: time 1.313e-06/1.062, allocations: 0 / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/1.096, allocations: 6.736 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.246, allocations: 10.97 kB / 1.329 GB, free: 15.54 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.904681866057217]