Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00148/0.00148, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.602/2.602, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 72.44 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.6865, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002919/0.6895, allocations: 1.729 MB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.6907, allocations: 0.6246 MB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.6908, allocations: 1.25 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.6909, allocations: 10.27 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.691, allocations: 39.61 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.6919, allocations: 362.9 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.6926, allocations: 0.6333 MB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6927, allocations: 39.28 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.6931, allocations: 303.4 kB / 1.087 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.6934, allocations: 151.3 kB / 1.087 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.6935, allocations: 40.88 kB / 1.087 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.6936, allocations: 40.78 kB / 1.087 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.6937, allocations: 123.8 kB / 1.087 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.694, allocations: 222.9 kB / 1.087 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006401/0.6947, allocations: 0.5982 MB / 1.088 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6947, allocations: 5.062 kB / 1.088 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6947, allocations: 0 / 1.088 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6947, allocations: 0 / 1.088 GB, free: 14.93 MB / 0.8419 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.001383/0.6961, allocations: 0.8997 MB / 1.089 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.6961, allocations: 8.281 kB / 1.089 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.6963, allocations: 53.77 kB / 1.089 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6967, allocations: 337.3 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.6968, allocations: 28.88 kB / 1.089 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.6969, allocations: 33.52 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.698, allocations: 228.2 kB / 1.089 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.698, allocations: 4.734 kB / 1.089 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.698, allocations: 5.672 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.698, allocations: 2.312 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.6989, allocations: 118.2 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.7002, allocations: 0.6743 MB / 1.09 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.7013, allocations: 185.5 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007887/0.7021, allocations: 114.5 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.7021, allocations: 6.312 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.7032, allocations: 237.9 kB / 1.091 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 5.611e-06/0.7032, allocations: 3.984 kB / 1.091 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002698/0.7059, allocations: 498.9 kB / 1.091 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.7059, allocations: 58.84 kB / 1.091 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.7065, allocations: 440 kB / 1.092 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.7066, allocations: 44.42 kB / 1.092 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7067, allocations: 113.6 kB / 1.092 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.7068, allocations: 29.53 kB / 1.092 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.707, allocations: 142.1 kB / 1.092 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7071, allocations: 326.3 kB / 1.092 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.7075, allocations: 140.3 kB / 1.092 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.7078, allocations: 197 kB / 1.092 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.7083, allocations: 304.6 kB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7083, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009756/0.7092, allocations: 0.5209 MB / 1.093 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7094, allocations: 96.67 kB / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7094, allocations: 1.781 kB / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.7094, allocations: 3.844 kB / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.7096, allocations: 22.62 kB / 1.093 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7096, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.7101, allocations: 63.2 kB / 1.093 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/0.7102, allocations: 66.53 kB / 1.094 GB, free: 11.47 MB / 0.8419 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.0003254/0.7106, allocations: 217.6 kB / 1.094 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.7107, allocations: 38.05 kB / 1.094 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.7107, allocations: 46.23 kB / 1.094 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7108, allocations: 2.625 kB / 1.094 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7108, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7108, allocations: 1.5 kB / 1.094 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.713, allocations: 0.7866 MB / 1.095 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.713, allocations: 3.938 kB / 1.095 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.7131, allocations: 13.72 kB / 1.095 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7131, allocations: 1.125 kB / 1.095 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.7131, allocations: 22.95 kB / 1.095 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7132, allocations: 0 / 1.095 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7132, allocations: 1.188 kB / 1.095 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.7149, allocations: 477.5 kB / 1.095 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.7153, allocations: 246.3 kB / 1.095 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.7154, allocations: 19.94 kB / 1.095 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.7158, allocations: 37.48 kB / 1.095 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.7159, allocations: 11.39 kB / 1.095 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.716, allocations: 55.58 kB / 1.095 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003639/0.7163, allocations: 320 kB / 1.096 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7163, allocations: 3.938 kB / 1.096 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004107/0.7168, allocations: 71.31 kB / 1.096 GB, free: 10.27 MB / 0.8419 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.0001834/0.717, allocations: 129.2 kB / 1.096 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.7183, allocations: 482.1 kB / 1.096 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7183, allocations: 0 / 1.096 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.7191, allocations: 131.8 kB / 1.097 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.7196, allocations: 45.11 kB / 1.097 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.7212, allocations: 0.6496 MB / 1.097 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.7217, allocations: 0.7823 MB / 1.098 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.7217, allocations: 17.38 kB / 1.098 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.7217, allocations: 4 kB / 1.098 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of Templates: time 0.00687/0.7286, allocations: 4.09 MB / 1.102 GB, free: 8.199 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches