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.001903/0.001903, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002389/0.002389, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.55/1.55, allocations: 177.2 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.004/3.004, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 2.114e-06/2.114e-06, allocations: 4.594 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.096e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003208/0.003239, allocations: 1.751 MB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.004905, allocations: 0.6064 MB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.004973, allocations: 1.25 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.005079, allocations: 7.875 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.005231, allocations: 43.7 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.006177, allocations: 376.8 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.006908, allocations: 0.597 MB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.007011, allocations: 22.52 kB / 0.7898 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.007651, allocations: 419.6 kB / 0.7902 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.007987, allocations: 140.2 kB / 0.7903 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.008137, allocations: 40.91 kB / 0.7903 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.008288, allocations: 44 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.008458, allocations: 128.3 kB / 0.7905 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.008684, allocations: 151.6 kB / 0.7906 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008161/0.0095, allocations: 0.6443 MB / 0.7913 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009503, allocations: 0 / 0.7913 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.009505, allocations: 0 / 0.7913 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.009511, allocations: 4 kB / 0.7913 GB, free: 7.797 MB / 0.7448 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.001633/0.01114, allocations: 0.9731 MB / 0.7922 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.01118, allocations: 11.47 kB / 0.7922 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.01135, allocations: 64.64 kB / 0.7923 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.0119, allocations: 286.7 kB / 0.7926 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.01196, allocations: 28.36 kB / 0.7926 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.01206, allocations: 28.38 kB / 0.7926 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.01273, allocations: 214 kB / 0.7928 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.01275, allocations: 4.172 kB / 0.7928 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.01278, allocations: 9.094 kB / 0.7928 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.01279, allocations: 384 / 0.7928 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.01324, allocations: 93.55 kB / 0.7929 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.01486, allocations: 0.6762 MB / 0.7936 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.0155, allocations: 151.7 kB / 0.7937 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.01591, allocations: 96.92 kB / 0.7938 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.01595, allocations: 7.984 kB / 0.7938 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.01656, allocations: 218.9 kB / 0.794 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.01657, allocations: 0 / 0.794 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.001636/0.0182, allocations: 450.4 kB / 0.7945 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.01827, allocations: 71.86 kB / 0.7945 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.01892, allocations: 0.5074 MB / 0.795 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.01899, allocations: 45.69 kB / 0.7951 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01913, allocations: 152.9 kB / 0.7952 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.01919, allocations: 51.69 kB / 0.7953 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.01946, allocations: 155.6 kB / 0.7954 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004397/0.0199, allocations: 0.504 MB / 0.7959 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.02033, allocations: 240.7 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.0208, allocations: 321 kB / 0.7964 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.02132, allocations: 340.6 kB / 0.7968 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02132, allocations: 0 / 0.7968 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001191/0.02251, allocations: 0.6641 MB / 0.7974 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.02262, allocations: 98.64 kB / 0.7975 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02263, allocations: 0 / 0.7975 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.02265, allocations: 9.203 kB / 0.7975 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.02287, allocations: 31.92 kB / 0.7976 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.02288, allocations: 4 kB / 0.7976 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.02325, allocations: 48.77 kB / 0.7976 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.02336, allocations: 67.97 kB / 0.7977 GB, free: 0.8945 MB / 0.7448 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.0002606/0.02362, allocations: 197.4 kB / 0.7979 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.02371, allocations: 43.7 kB / 0.7979 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.0238, allocations: 39.72 kB / 0.7979 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.02381, allocations: 4 kB / 0.7979 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.02381, allocations: 3.25 kB / 0.7979 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.02382, allocations: 0 / 0.7979 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.02565, allocations: 0.8097 MB / 0.7987 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02565, allocations: 0 / 0.7987 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.02569, allocations: 4 kB / 0.7987 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.0257, allocations: 1.094 kB / 0.7987 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.02575, allocations: 23.97 kB / 0.7988 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.02576, allocations: 4 kB / 0.7988 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.02576, allocations: 0.5 kB / 0.7988 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.02696, allocations: 0.5098 MB / 0.7993 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.02732, allocations: 165.8 kB / 0.7994 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.02741, allocations: 16 kB / 0.7994 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.02771, allocations: 25.31 kB / 0.7995 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.02775, allocations: 7.984 kB / 0.7995 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.02783, allocations: 55.98 kB / 0.7995 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003673/0.0282, allocations: 312.2 kB / 0.7998 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.0282, allocations: 0 / 0.7998 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004129/0.02861, allocations: 79.88 kB / 0.7999 GB, free: 14.55 MB / 0.7605 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.0002268/0.02884, allocations: 129.5 kB / 0.8 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.03013, allocations: 0.6377 MB / 0.8006 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03014, allocations: 0 / 0.8006 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.03058, allocations: 113.7 kB / 0.8008 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.03105, allocations: 62.86 kB / 0.8008 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.03228, allocations: 0.5223 MB / 0.8013 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.0325, allocations: 179.7 kB / 0.8015 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.03257, allocations: 19.94 kB / 0.8015 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.03263, allocations: 17.05 kB / 0.8015 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/0.03263, allocations: 4 kB / 0.8015 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of Templates: time 0.0124/0.04503, allocations: 6.395 MB / 0.8078 GB, free: 6.34 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] 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: 8.26195692596957]