Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0008157/0.0008157, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008103/0.0008103, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.17e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00183/0.001852, allocations: 1.731 MB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009567/0.002809, allocations: 0.6193 MB / 0.9541 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.00287, allocations: 0 / 0.9541 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.00296, allocations: 11.86 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003071, allocations: 35.78 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.003676, allocations: 381.6 kB / 0.9545 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.004078, allocations: 0.6009 MB / 0.9551 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.004169, allocations: 21.31 kB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.004517, allocations: 423.5 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.004706, allocations: 136.2 kB / 0.9556 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.004756, allocations: 40 kB / 0.9557 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.004805, allocations: 40 kB / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.004899, allocations: 127.7 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.00501, allocations: 155.7 kB / 0.956 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.005423, allocations: 0.6351 MB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005425, allocations: 4 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005426, allocations: 0 / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.005431, allocations: 3.938 kB / 0.9566 GB, free: 13.98 MB / 0.9167 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.0008165/0.006248, allocations: 0.8378 MB / 0.9574 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.006278, allocations: 12.03 kB / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.006362, allocations: 60.59 kB / 0.9575 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.006632, allocations: 280 kB / 0.9578 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.006663, allocations: 20.36 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.006709, allocations: 28.38 kB / 0.9578 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.007235, allocations: 253.9 kB / 0.958 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.007244, allocations: 12.16 kB / 0.9581 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.007263, allocations: 4.375 kB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.007268, allocations: 4.375 kB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.007627, allocations: 127.9 kB / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.00831, allocations: 0.5352 MB / 0.9587 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.008803, allocations: 190.4 kB / 0.9589 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.009147, allocations: 128.7 kB / 0.959 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.009166, allocations: 4 kB / 0.959 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.009619, allocations: 246.2 kB / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.009621, allocations: 0 / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.00129/0.01091, allocations: 0.5324 MB / 0.9598 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.01095, allocations: 63.39 kB / 0.9598 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.01123, allocations: 441.9 kB / 0.9602 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.01127, allocations: 49.69 kB / 0.9603 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.01132, allocations: 101.4 kB / 0.9604 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.01135, allocations: 39.75 kB / 0.9604 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.01147, allocations: 133.5 kB / 0.9606 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.01154, allocations: 326.8 kB / 0.9609 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.01175, allocations: 215.3 kB / 0.9611 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.01198, allocations: 277.3 kB / 0.9613 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01221, allocations: 303 kB / 0.9616 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01222, allocations: 0 / 0.9616 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005381/0.01275, allocations: 0.6016 MB / 0.9622 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.01281, allocations: 83.38 kB / 0.9623 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01281, allocations: 4 kB / 0.9623 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.01283, allocations: 4 kB / 0.9623 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.01292, allocations: 32.09 kB / 0.9623 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01293, allocations: 4 kB / 0.9623 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.01316, allocations: 63.86 kB / 0.9624 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.01321, allocations: 55.98 kB / 0.9625 GB, free: 7.648 MB / 0.9167 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.0001587/0.01337, allocations: 228.2 kB / 0.9627 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.0134, allocations: 39.7 kB / 0.9627 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.01345, allocations: 47.73 kB / 0.9628 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01345, allocations: 0 / 0.9628 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01346, allocations: 4 kB / 0.9628 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01346, allocations: 3.984 kB / 0.9628 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.01455, allocations: 0.7443 MB / 0.9635 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01455, allocations: 7.938 kB / 0.9635 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.01457, allocations: 7.984 kB / 0.9635 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01457, allocations: 0 / 0.9635 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.01459, allocations: 15.98 kB / 0.9635 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01459, allocations: 3.938 kB / 0.9635 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01459, allocations: 4 kB / 0.9635 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.01542, allocations: 0.5182 MB / 0.964 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.01561, allocations: 181.5 kB / 0.9642 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.01565, allocations: 19.98 kB / 0.9642 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.01586, allocations: 31.97 kB / 0.9643 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.01589, allocations: 11.98 kB / 0.9643 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.01593, allocations: 59.97 kB / 0.9643 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001961/0.01613, allocations: 319.1 kB / 0.9646 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01613, allocations: 4 kB / 0.9646 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002159/0.01634, allocations: 67.98 kB / 0.9647 GB, free: 5.293 MB / 0.9167 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.0001015/0.01644, allocations: 123.7 kB / 0.9648 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.01715, allocations: 0.5213 MB / 0.9653 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01715, allocations: 384 / 0.9653 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.0175, allocations: 135.8 kB / 0.9655 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01775, allocations: 42.64 kB / 0.9655 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.0186, allocations: 0.6542 MB / 0.9661 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.01871, allocations: 182.9 kB / 0.9663 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.01875, allocations: 24.48 kB / 0.9663 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.01875, allocations: 0 / 0.9663 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.003697/0.02245, allocations: 4.113 MB / 0.9703 GB, free: 15.36 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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: 6.459688345901668]