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.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.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.001131/0.001131, allocations: 112.6 kB / 16.37 MB, free: 6 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.001196/0.001196, allocations: 196 kB / 17.31 MB, free: 5.613 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.72 kB / 0.8141 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003036/0.3061, allocations: 1.749 MB / 0.9529 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3076, allocations: 0.6207 MB / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3077, allocations: 3.938 kB / 0.9535 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3079, allocations: 11.86 kB / 0.9535 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.308, allocations: 35.78 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.309, allocations: 363.2 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.3097, allocations: 0.6321 MB / 0.9545 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3098, allocations: 33.09 kB / 0.9545 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.3102, allocations: 307.5 kB / 0.9548 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.3105, allocations: 159.6 kB / 0.955 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.3106, allocations: 44 kB / 0.955 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.3107, allocations: 43.94 kB / 0.955 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3108, allocations: 127.6 kB / 0.9552 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.3111, allocations: 215 kB / 0.9554 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.3116, allocations: 0.5997 MB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3116, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3116, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3117, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7325 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.001261/0.3129, allocations: 0.9033 MB / 0.9568 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.313, allocations: 12.03 kB / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3131, allocations: 60.36 kB / 0.9569 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.3136, allocations: 330.2 kB / 0.9572 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.3137, allocations: 20.36 kB / 0.9572 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.3138, allocations: 28.38 kB / 0.9573 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.3148, allocations: 237.9 kB / 0.9575 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3148, allocations: 192 / 0.9575 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.3148, allocations: 15.92 kB / 0.9575 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3149, allocations: 0 / 0.9575 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.3156, allocations: 111.9 kB / 0.9576 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.317, allocations: 0.672 MB / 0.9583 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.318, allocations: 182.5 kB / 0.9584 GB, free: 388 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006437/0.3186, allocations: 116.8 kB / 0.9586 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3187, allocations: 8 kB / 0.9586 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/0.3196, allocations: 223.2 kB / 0.9588 GB, free: 24 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.3196, allocations: 0 / 0.9588 GB, free: 24 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002417/0.322, allocations: 499.5 kB / 0.9592 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3221, allocations: 67.38 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.3225, allocations: 449.8 kB / 0.9597 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.3226, allocations: 45.62 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.3227, allocations: 101.3 kB / 0.9599 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.3227, allocations: 31.56 kB / 0.9599 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.323, allocations: 141.3 kB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3231, allocations: 330.8 kB / 0.9604 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3234, allocations: 131.9 kB / 0.9605 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.3237, allocations: 197.9 kB / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3241, allocations: 299.1 kB / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3241, allocations: 0 / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008547/0.325, allocations: 0.5202 MB / 0.9615 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.3251, allocations: 91.38 kB / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3251, allocations: 7.938 kB / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3251, allocations: 3.984 kB / 0.9616 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3253, allocations: 24.17 kB / 0.9616 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3253, allocations: 11.94 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.3258, allocations: 67.66 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.3259, allocations: 59.98 kB / 0.9617 GB, free: 12.87 MB / 0.7481 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.0002437/0.3262, allocations: 216.3 kB / 0.9619 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.3263, allocations: 39.53 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.3263, allocations: 43.78 kB / 0.962 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3263, allocations: 4 kB / 0.962 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3264, allocations: 0 / 0.962 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3264, allocations: 0 / 0.962 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3286, allocations: 0.7911 MB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3286, allocations: 0 / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.3286, allocations: 4 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3286, allocations: 0 / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.3287, allocations: 19.97 kB / 0.9628 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3287, allocations: 7.875 kB / 0.9628 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3287, allocations: 0 / 0.9628 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3304, allocations: 485.9 kB / 0.9633 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.3308, allocations: 240.5 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.3309, allocations: 16 kB / 0.9635 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.3313, allocations: 39.91 kB / 0.9636 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3314, allocations: 11.92 kB / 0.9636 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.3315, allocations: 59.97 kB / 0.9636 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003296/0.3318, allocations: 315.1 kB / 0.9639 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3318, allocations: 0 / 0.9639 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004208/0.3322, allocations: 67.98 kB / 0.964 GB, free: 10.44 MB / 0.7481 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.000206/0.3324, allocations: 136.2 kB / 0.9641 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.3338, allocations: 474.5 kB / 0.9646 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3338, allocations: 4 kB / 0.9646 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007366/0.3346, allocations: 124.2 kB / 0.9647 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.335, allocations: 40.14 kB / 0.9647 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3365, allocations: 0.5905 MB / 0.9653 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3369, allocations: 0.7901 MB / 0.9661 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.543e-05/0.337, allocations: 17.42 kB / 0.9661 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.337, allocations: 15.44 kB / 0.9661 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.337, allocations: 0 / 0.9661 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of Templates: time 0.009636/0.3467, allocations: 5.425 MB / 0.9714 GB, free: 2.68 MB / 0.7481 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 -s gbode -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/jenkins1/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