Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 78.72 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 159.3 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.671/2.671, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3015, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003619/0.3051, allocations: 1.538 MB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3065, allocations: 0.5307 MB / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.3065, allocations: 0 / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.489e-05/0.3066, allocations: 11.88 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.3068, allocations: 23.86 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.3077, allocations: 312.3 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.3082, allocations: 487.4 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.3083, allocations: 4 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.3087, allocations: 279.7 kB / 1.121 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.309, allocations: 139.6 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.3091, allocations: 28 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.3092, allocations: 28 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3093, allocations: 115.6 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.3095, allocations: 159.2 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.31, allocations: 434.3 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.31, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.31, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.31, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001296/0.3113, allocations: 0.8029 MB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3113, allocations: 8.031 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3114, allocations: 52.7 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3118, allocations: 256.7 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.3119, allocations: 16.36 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.312, allocations: 28.38 kB / 1.123 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/0.3129, allocations: 231.7 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3129, allocations: 8.125 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.313, allocations: 7.938 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.313, allocations: 0 / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.3137, allocations: 111.9 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3141, allocations: 289 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3152, allocations: 178.5 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.316, allocations: 112.8 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.316, allocations: 7.922 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/0.317, allocations: 243.1 kB / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.317, allocations: 0 / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002644/0.3196, allocations: 0.5272 MB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3197, allocations: 59.41 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.3201, allocations: 417.9 kB / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.3202, allocations: 37.7 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3203, allocations: 93.44 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.3203, allocations: 47.67 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.3205, allocations: 133.4 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3207, allocations: 322.8 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.321, allocations: 195.3 kB / 1.125 GB, free: 10.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3214, allocations: 250.9 kB / 1.126 GB, free: 9.883 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3218, allocations: 267.7 kB / 1.126 GB, free: 9.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3218, allocations: 0 / 1.126 GB, free: 9.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009224/0.3227, allocations: 0.5587 MB / 1.126 GB, free: 9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.3228, allocations: 79.38 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3228, allocations: 7.984 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3228, allocations: 3.938 kB / 1.127 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.323, allocations: 27.92 kB / 1.127 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.323, allocations: 8 kB / 1.127 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.3235, allocations: 67.78 kB / 1.127 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/0.3236, allocations: 64.05 kB / 1.127 GB, free: 8.734 MB / 1.076 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002353/0.3238, allocations: 195.7 kB / 1.127 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.3239, allocations: 39.72 kB / 1.127 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.324, allocations: 43.62 kB / 1.127 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.324, allocations: 4 kB / 1.127 GB, free: 8.449 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.324, allocations: 0 / 1.127 GB, free: 8.449 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.324, allocations: 3.984 kB / 1.127 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3262, allocations: 0.7051 MB / 1.128 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3262, allocations: 7.938 kB / 1.128 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.3263, allocations: 7.938 kB / 1.128 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3263, allocations: 0 / 1.128 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.3263, allocations: 23.97 kB / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3263, allocations: 0 / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3263, allocations: 0 / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3281, allocations: 0.5024 MB / 1.128 GB, free: 7.145 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.3284, allocations: 133.5 kB / 1.128 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.3284, allocations: 12 kB / 1.128 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.3289, allocations: 39.97 kB / 1.128 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.329, allocations: 7.984 kB / 1.128 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.329, allocations: 59.97 kB / 1.128 GB, free: 6.898 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003278/0.3294, allocations: 299.1 kB / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3294, allocations: 0 / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003638/0.3297, allocations: 71.86 kB / 1.129 GB, free: 6.539 MB / 1.076 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001476/0.3299, allocations: 117.4 kB / 1.129 GB, free: 6.418 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.3312, allocations: 0.49 MB / 1.129 GB, free: 5.891 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3312, allocations: 0 / 1.129 GB, free: 5.891 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.332, allocations: 115.9 kB / 1.129 GB, free: 5.777 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3323, allocations: 29.95 kB / 1.13 GB, free: 5.746 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3338, allocations: 0.5742 MB / 1.13 GB, free: 5.145 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.334, allocations: 163 kB / 1.13 GB, free: 4.969 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.565e-05/0.334, allocations: 13.14 kB / 1.13 GB, free: 4.957 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.3341, allocations: 28.48 kB / 1.13 GB, free: 4.926 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.3341, allocations: 0 / 1.13 GB, free: 4.926 MB / 1.076 GB Notification: Performance of Templates: time 0.5086/0.8427, allocations: 6.031 MB / 1.136 GB, free: 58.04 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.38382713100873]