Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 16 kB / 0.8167 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7789, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001681/0.7807, allocations: 1.447 MB / 0.9572 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.7819, allocations: 0.679 MB / 0.9578 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.782, allocations: 5.375 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.7821, allocations: 11.86 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.7822, allocations: 31.5 kB / 0.9579 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.7829, allocations: 328.5 kB / 0.9582 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.7834, allocations: 0.5315 MB / 0.9587 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.7835, allocations: 33.97 kB / 0.9587 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.7839, allocations: 314.3 kB / 0.959 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.7841, allocations: 167.9 kB / 0.9592 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.7842, allocations: 14.28 kB / 0.9592 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.7843, allocations: 13.34 kB / 0.9592 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.7844, allocations: 117.1 kB / 0.9593 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.7846, allocations: 227.1 kB / 0.9595 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.785, allocations: 477.6 kB / 0.96 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.785, allocations: 0 / 0.96 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.785, allocations: 0 / 0.96 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.785, allocations: 0 / 0.96 GB, free: 4.664 MB / 0.7169 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.0009395/0.786, allocations: 0.7813 MB / 0.9608 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.786, allocations: 13.56 kB / 0.9608 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.7862, allocations: 52.09 kB / 0.9608 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.7865, allocations: 337.1 kB / 0.9612 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.7866, allocations: 19.56 kB / 0.9612 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.7867, allocations: 32.83 kB / 0.9612 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.7877, allocations: 245.6 kB / 0.9614 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7878, allocations: 7.875 kB / 0.9614 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.7878, allocations: 5 kB / 0.9614 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7878, allocations: 2 kB / 0.9614 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.7886, allocations: 128.4 kB / 0.9616 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.7899, allocations: 0.6727 MB / 0.9622 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.791, allocations: 201.7 kB / 0.9624 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008056/0.7918, allocations: 126.9 kB / 0.9625 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.7919, allocations: 6.188 kB / 0.9625 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009717/0.7928, allocations: 244.7 kB / 0.9628 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.7928, allocations: 0 / 0.9628 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002793/0.7956, allocations: 0.5252 MB / 0.9633 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.7957, allocations: 64.05 kB / 0.9634 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.7962, allocations: 440 kB / 0.9638 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.7962, allocations: 41.97 kB / 0.9638 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.7963, allocations: 109 kB / 0.9639 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.7964, allocations: 25.97 kB / 0.9639 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.7964, allocations: 44.12 kB / 0.964 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.7965, allocations: 330.4 kB / 0.9643 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.7968, allocations: 142.2 kB / 0.9644 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.7971, allocations: 187.4 kB / 0.9646 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.7974, allocations: 310.1 kB / 0.9649 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7975, allocations: 1 kB / 0.9649 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008737/0.7983, allocations: 0.5168 MB / 0.9654 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.7984, allocations: 97.69 kB / 0.9655 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.7984, allocations: 6.031 kB / 0.9655 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7985, allocations: 11.11 kB / 0.9655 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7986, allocations: 22.42 kB / 0.9655 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.7987, allocations: 2 kB / 0.9655 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.7992, allocations: 66.42 kB / 0.9656 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7993, allocations: 69.03 kB / 0.9657 GB, free: 0.5312 MB / 0.7169 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.0002552/0.7996, allocations: 220.4 kB / 0.9659 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.7997, allocations: 41.5 kB / 0.9659 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.7997, allocations: 40.22 kB / 0.966 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7997, allocations: 2.062 kB / 0.966 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7998, allocations: 0 / 0.966 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7998, allocations: 1.125 kB / 0.966 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.8021, allocations: 0.8137 MB / 0.9668 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8021, allocations: 0 / 0.9668 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.8021, allocations: 4.25 kB / 0.9668 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8021, allocations: 1.031 kB / 0.9668 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.8022, allocations: 27.25 kB / 0.9668 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8022, allocations: 1 kB / 0.9668 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8022, allocations: 0.9688 kB / 0.9668 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.8041, allocations: 0.4931 MB / 0.9673 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.8045, allocations: 243.4 kB / 0.9675 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.8045, allocations: 27.48 kB / 0.9675 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.8051, allocations: 36.31 kB / 0.9676 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.8051, allocations: 12.02 kB / 0.9676 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.8052, allocations: 57.73 kB / 0.9676 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000382/0.8056, allocations: 321.8 kB / 0.9679 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8056, allocations: 0 / 0.9679 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004562/0.806, allocations: 72.86 kB / 0.968 GB, free: 14.99 MB / 0.7325 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.0001865/0.8062, allocations: 122 kB / 0.9681 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.8077, allocations: 488.2 kB / 0.9686 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8077, allocations: 0 / 0.9686 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008409/0.8086, allocations: 144.7 kB / 0.9687 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.809, allocations: 37.42 kB / 0.9688 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.8107, allocations: 0.7801 MB / 0.9695 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.8111, allocations: 0.7834 MB / 0.9703 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.8112, allocations: 19.39 kB / 0.9703 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8112, allocations: 4 kB / 0.9703 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.007086/0.8183, allocations: 4.057 MB / 0.9743 GB, free: 11.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches