Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00863/0.00863, allocations: 170 kB / 16.27 MB, free: 6.66 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.715/2.715, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 16 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9106, allocations: 142.4 MB / 0.9551 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001926/0.9126, allocations: 1.453 MB / 0.9565 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.914, allocations: 0.6836 MB / 0.9572 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.9141, allocations: 1.125 kB / 0.9572 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.9142, allocations: 7.922 kB / 0.9572 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.9143, allocations: 36.06 kB / 0.9572 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.915, allocations: 339.2 kB / 0.9575 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.9155, allocations: 0.5281 MB / 0.958 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.9156, allocations: 33.95 kB / 0.9581 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.916, allocations: 312.3 kB / 0.9584 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.9163, allocations: 170.6 kB / 0.9585 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.9163, allocations: 13.75 kB / 0.9585 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.9164, allocations: 13.75 kB / 0.9586 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.9165, allocations: 122 kB / 0.9587 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.9168, allocations: 222.3 kB / 0.9589 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.9172, allocations: 0.5681 MB / 0.9594 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9172, allocations: 0 / 0.9594 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9172, allocations: 0 / 0.9594 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.9173, allocations: 0.9688 kB / 0.9594 GB, free: 4.805 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.001041/0.9183, allocations: 0.7805 MB / 0.9602 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9184, allocations: 9.375 kB / 0.9602 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.9185, allocations: 56.09 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.9188, allocations: 341 kB / 0.9606 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.9189, allocations: 20.94 kB / 0.9606 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.919, allocations: 31.73 kB / 0.9606 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.9201, allocations: 246.2 kB / 0.9609 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9201, allocations: 4.969 kB / 0.9609 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.9201, allocations: 8.953 kB / 0.9609 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.9202, allocations: 2.219 kB / 0.9609 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.921, allocations: 124.4 kB / 0.961 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.9224, allocations: 0.6839 MB / 0.9617 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.9236, allocations: 192.9 kB / 0.9619 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.9244, allocations: 127.5 kB / 0.962 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.9244, allocations: 1.688 kB / 0.962 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.9254, allocations: 255.6 kB / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.9254, allocations: 0 / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0028/0.9283, allocations: 0.5197 MB / 0.9627 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9283, allocations: 56.16 kB / 0.9628 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.9288, allocations: 439 kB / 0.9632 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.9289, allocations: 46.25 kB / 0.9633 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.929, allocations: 105.8 kB / 0.9634 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.9291, allocations: 33.16 kB / 0.9634 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.9292, allocations: 41.08 kB / 0.9634 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.9293, allocations: 325.6 kB / 0.9637 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.9296, allocations: 139.7 kB / 0.9639 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.9301, allocations: 198 kB / 0.9641 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.9306, allocations: 302.2 kB / 0.9643 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9306, allocations: 9.375 kB / 0.9644 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001039/0.9317, allocations: 0.5244 MB / 0.9649 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.04e-05/0.9318, allocations: 101.8 kB / 0.965 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9318, allocations: 1 kB / 0.965 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.9318, allocations: 3.031 kB / 0.965 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.932, allocations: 22.11 kB / 0.965 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.932, allocations: 3.312 kB / 0.965 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.9327, allocations: 70.23 kB / 0.9651 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9328, allocations: 69.03 kB / 0.9651 GB, free: 0.6641 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.0003268/0.9331, allocations: 216.3 kB / 0.9653 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.9332, allocations: 40.97 kB / 0.9654 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.9333, allocations: 40.38 kB / 0.9654 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9333, allocations: 5.953 kB / 0.9654 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9333, allocations: 1.031 kB / 0.9654 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9333, allocations: 0 / 0.9654 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.9358, allocations: 0.8075 MB / 0.9662 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9358, allocations: 5 kB / 0.9662 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.9359, allocations: 7.906 kB / 0.9662 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.9359, allocations: 1.094 kB / 0.9662 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.9359, allocations: 31.44 kB / 0.9662 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.9359, allocations: 4.969 kB / 0.9663 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.936, allocations: 0 / 0.9663 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.938, allocations: 0.4904 MB / 0.9667 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.9385, allocations: 242.9 kB / 0.967 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.9386, allocations: 23.23 kB / 0.967 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.9391, allocations: 32.38 kB / 0.967 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.9391, allocations: 12.05 kB / 0.967 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.9392, allocations: 57.72 kB / 0.9671 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004501/0.9397, allocations: 317.2 kB / 0.9674 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.934e-06/0.9397, allocations: 5.219 kB / 0.9674 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005482/0.9403, allocations: 75.17 kB / 0.9675 GB, free: 15.12 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.0002089/0.9405, allocations: 124.5 kB / 0.9676 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.942, allocations: 484.6 kB / 0.968 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.942, allocations: 0 / 0.968 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.9428, allocations: 132 kB / 0.9682 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.9432, allocations: 39.22 kB / 0.9682 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.9451, allocations: 0.7309 MB / 0.9689 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.9456, allocations: 0.7941 MB / 0.9697 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.512e-05/0.9456, allocations: 17.8 kB / 0.9697 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.9457, allocations: 22.39 kB / 0.9697 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.9457, allocations: 5.031 kB / 0.9697 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.01113/0.9568, allocations: 5.401 MB / 0.975 GB, free: 10.4 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches