Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 107.2 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 191.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 489.3 MB / 0.7687 GB, free: 3.863 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 1.103 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9089, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002611/0.9115, allocations: 1.519 MB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.9128, allocations: 0.5401 MB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.9129, allocations: 0.8438 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.991e-05/0.913, allocations: 13.47 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.9131, allocations: 29.38 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.914, allocations: 307.1 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.9146, allocations: 0.5046 MB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.9147, allocations: 6.109 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.9151, allocations: 267.8 kB / 1.266 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.9155, allocations: 151.7 kB / 1.266 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.9156, allocations: 27.12 kB / 1.266 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.9157, allocations: 26.59 kB / 1.266 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.9158, allocations: 119.1 kB / 1.266 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.9161, allocations: 182 kB / 1.266 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.9166, allocations: 427.1 kB / 1.267 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9167, allocations: 0 / 1.267 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9167, allocations: 0.625 kB / 1.267 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9167, allocations: 0 / 1.267 GB, free: 5.809 MB / 0.9981 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.001216/0.9179, allocations: 0.8808 MB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.918, allocations: 9.781 kB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.9181, allocations: 54.83 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.9186, allocations: 313.4 kB / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.9186, allocations: 21.94 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.9187, allocations: 25.47 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.9199, allocations: 223.5 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9199, allocations: 1.641 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.92, allocations: 9.312 kB / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.92, allocations: 1.375 kB / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.9208, allocations: 96.23 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.9216, allocations: 383.7 kB / 1.268 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.9227, allocations: 175.5 kB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.9235, allocations: 108.3 kB / 1.269 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.9235, allocations: 10.78 kB / 1.269 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.9246, allocations: 227.2 kB / 1.269 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.9246, allocations: 0 / 1.269 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002803/0.9275, allocations: 490.5 kB / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.9275, allocations: 57 kB / 1.27 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.9281, allocations: 419.3 kB / 1.27 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.9282, allocations: 41.45 kB / 1.27 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.9283, allocations: 100.8 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.9283, allocations: 27.33 kB / 1.27 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.9286, allocations: 131.9 kB / 1.27 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.9287, allocations: 322.4 kB / 1.271 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.929, allocations: 118.2 kB / 1.271 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.9293, allocations: 177.7 kB / 1.271 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.9297, allocations: 277.6 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9297, allocations: 0.6875 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009046/0.9307, allocations: 490.5 kB / 1.272 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.9308, allocations: 92.22 kB / 1.272 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9308, allocations: 1.312 kB / 1.272 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.9308, allocations: 3.438 kB / 1.272 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.931, allocations: 24.17 kB / 1.272 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.931, allocations: 9.688 kB / 1.272 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.9315, allocations: 56.28 kB / 1.272 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9316, allocations: 58.83 kB / 1.272 GB, free: 2.688 MB / 0.9981 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.0002502/0.9319, allocations: 193.6 kB / 1.272 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.932, allocations: 44.12 kB / 1.272 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.932, allocations: 39.16 kB / 1.272 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.9321, allocations: 1.469 kB / 1.272 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.9321, allocations: 1.078 kB / 1.272 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9321, allocations: 6.078 kB / 1.272 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.9342, allocations: 0.7479 MB / 1.273 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9343, allocations: 1.25 kB / 1.273 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.9343, allocations: 3.531 kB / 1.273 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9343, allocations: 10.67 kB / 1.273 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.9343, allocations: 26.2 kB / 1.273 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9344, allocations: 0 / 1.273 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9344, allocations: 1.219 kB / 1.273 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.9361, allocations: 482 kB / 1.273 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.9363, allocations: 199.1 kB / 1.273 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.9364, allocations: 13.53 kB / 1.273 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.9368, allocations: 34.78 kB / 1.273 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.9369, allocations: 7.172 kB / 1.273 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.937, allocations: 64.88 kB / 1.274 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002837/0.9372, allocations: 293.5 kB / 1.274 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9373, allocations: 0 / 1.274 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003881/0.9376, allocations: 65.84 kB / 1.274 GB, free: 1.578 MB / 0.9981 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.0001378/0.9378, allocations: 116.7 kB / 1.274 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.939, allocations: 445.5 kB / 1.274 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9391, allocations: 1.25 kB / 1.274 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.9398, allocations: 112.8 kB / 1.275 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.9402, allocations: 41.42 kB / 1.275 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.9416, allocations: 0.5984 MB / 1.275 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.9419, allocations: 0.7788 MB / 1.276 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.9419, allocations: 16.8 kB / 1.276 GB, free: 160 kB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9419, allocations: 0 / 1.276 GB, free: 160 kB / 0.9981 GB Notification: Performance of Templates: time 0.007578/0.9495, allocations: 3.675 MB / 1.28 GB, free: 15.65 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.3765137931332]