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.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.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.001614/0.001615, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001896/0.001896, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, 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 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.98 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003471/0.2837, allocations: 1.734 MB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2853, allocations: 0.6244 MB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2854, allocations: 0 / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.2856, allocations: 7.875 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.2858, allocations: 31.8 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2868, allocations: 371 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.2876, allocations: 0.632 MB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2878, allocations: 41.06 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.2883, allocations: 295.7 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.2887, allocations: 159.5 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2888, allocations: 40 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2889, allocations: 44 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2891, allocations: 123.7 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.2894, allocations: 219 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.29, allocations: 0.5923 MB / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.29, allocations: 0 / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.983e-06/0.29, allocations: 0 / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.29, allocations: 0 / 0.9551 GB, free: 3.941 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.001634/0.2917, allocations: 0.9131 MB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2917, allocations: 12.03 kB / 0.956 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2919, allocations: 56.38 kB / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.2924, allocations: 334.1 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/0.2925, allocations: 20.55 kB / 0.9564 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.2926, allocations: 32.36 kB / 0.9564 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2936, allocations: 243.8 kB / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2937, allocations: 3.938 kB / 0.9566 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.2937, allocations: 4 kB / 0.9566 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2937, allocations: 4 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.2945, allocations: 111.9 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.296, allocations: 0.6798 MB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2971, allocations: 178.5 kB / 0.9576 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007869/0.2979, allocations: 116.8 kB / 0.9577 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.2979, allocations: 7.938 kB / 0.9577 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009951/0.2989, allocations: 237.8 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/0.2989, allocations: 3.938 kB / 0.9579 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002702/0.3016, allocations: 492.9 kB / 0.9584 GB, free: 324 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.3017, allocations: 63.39 kB / 0.9585 GB, free: 248 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.3023, allocations: 441.8 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.3024, allocations: 45.69 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3025, allocations: 101.3 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.3026, allocations: 35.55 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.3028, allocations: 137.3 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3029, allocations: 334.8 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3033, allocations: 139.9 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3036, allocations: 197.9 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.3041, allocations: 295.2 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3041, allocations: 3.938 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009285/0.305, allocations: 0.5281 MB / 0.9606 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/0.3051, allocations: 95.41 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3051, allocations: 4 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3052, allocations: 4 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3053, allocations: 27.91 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3053, allocations: 4 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.3059, allocations: 59.8 kB / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.306, allocations: 63.92 kB / 0.9609 GB, free: 13.66 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.00028/0.3063, allocations: 222.7 kB / 0.9611 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.3063, allocations: 35.53 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.456e-05/0.3064, allocations: 43.8 kB / 0.9612 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3065, allocations: 0 / 0.9612 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3065, allocations: 0 / 0.9612 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3065, allocations: 3.984 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.3088, allocations: 0.7892 MB / 0.9619 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3088, allocations: 0 / 0.9619 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3088, allocations: 7.984 kB / 0.9619 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3089, allocations: 4 kB / 0.962 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3089, allocations: 27.91 kB / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3089, allocations: 0 / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3089, allocations: 0 / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3108, allocations: 482.8 kB / 0.9624 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.3111, allocations: 244.4 kB / 0.9627 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.3112, allocations: 23.94 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.3117, allocations: 31.95 kB / 0.9627 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3118, allocations: 4 kB / 0.9627 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.3118, allocations: 59.97 kB / 0.9628 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003541/0.3122, allocations: 327 kB / 0.9631 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3122, allocations: 3.938 kB / 0.9631 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004287/0.3127, allocations: 68 kB / 0.9632 GB, free: 11.21 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.0002082/0.3129, allocations: 128.2 kB / 0.9633 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.3144, allocations: 483 kB / 0.9637 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3144, allocations: 4.062 kB / 0.9638 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.3152, allocations: 127 kB / 0.9639 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.3157, allocations: 34.84 kB / 0.9639 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3174, allocations: 0.6415 MB / 0.9645 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3178, allocations: 0.7979 MB / 0.9653 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.3178, allocations: 15.44 kB / 0.9653 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.3178, allocations: 0 / 0.9653 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.007429/0.3253, allocations: 4.087 MB / 0.9693 GB, free: 4.77 MB / 0.7481 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