Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001232/0.001232, allocations: 113 kB / 17.6 MB, free: 4.684 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.001227/0.001227, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.262 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.956/2.956, allocations: 496.2 MB / 0.7819 GB, free: 12.39 MB / 0.6231 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.91 kB / 1.136 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.298, allocations: 173.6 MB / 1.305 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004175/1.302, allocations: 1.754 MB / 1.307 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00176/1.304, allocations: 0.6278 MB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/1.304, allocations: 1.312 kB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/1.304, allocations: 14.25 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/1.304, allocations: 37.33 kB / 1.308 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/1.305, allocations: 358.1 kB / 1.308 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008529/1.306, allocations: 0.6004 MB / 1.309 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/1.306, allocations: 20.56 kB / 1.309 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/1.307, allocations: 313 kB / 1.309 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/1.307, allocations: 166.5 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/1.307, allocations: 41.19 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/1.307, allocations: 40.5 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/1.308, allocations: 129.6 kB / 1.309 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/1.308, allocations: 207.5 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009386/1.309, allocations: 0.6061 MB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.309, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.748e-06/1.309, allocations: 0.7969 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.466e-05/1.309, allocations: 3.938 kB / 1.31 GB, free: 13.96 MB / 1.014 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.00178/1.311, allocations: 0.9193 MB / 1.311 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/1.311, allocations: 14.17 kB / 1.311 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/1.311, allocations: 57.58 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/1.311, allocations: 336.4 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/1.311, allocations: 19.34 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.312, allocations: 35.52 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/1.313, allocations: 242.1 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.313, allocations: 192 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.313, allocations: 6.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.313, allocations: 2.75 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/1.314, allocations: 113.1 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/1.315, allocations: 0.6786 MB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.316, allocations: 168.5 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/1.317, allocations: 109.8 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.317, allocations: 1.406 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/1.318, allocations: 231.3 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/1.318, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002689/1.321, allocations: 0.4886 MB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/1.321, allocations: 65.17 kB / 1.314 GB, free: 11.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/1.321, allocations: 444.1 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/1.321, allocations: 41.47 kB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.322, allocations: 110 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/1.322, allocations: 33.23 kB / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/1.322, allocations: 136.9 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.322, allocations: 333 kB / 1.315 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.322, allocations: 135.3 kB / 1.315 GB, free: 10.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/1.323, allocations: 189.1 kB / 1.315 GB, free: 10.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/1.323, allocations: 305.8 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.323, allocations: 1.188 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009946/1.324, allocations: 0.5185 MB / 1.316 GB, free: 10.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.324, allocations: 94.34 kB / 1.316 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.324, allocations: 5.312 kB / 1.316 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.324, allocations: 6.656 kB / 1.316 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.324, allocations: 21.86 kB / 1.316 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.325, allocations: 7.078 kB / 1.316 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/1.325, allocations: 54.38 kB / 1.316 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.325, allocations: 68.45 kB / 1.316 GB, free: 9.914 MB / 1.014 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.0003596/1.325, allocations: 225.6 kB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/1.326, allocations: 36.11 kB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.501e-05/1.326, allocations: 45.44 kB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.326, allocations: 1.219 kB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.326, allocations: 5.156 kB / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.326, allocations: 0 / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/1.328, allocations: 0.7917 MB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.328, allocations: 0 / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.328, allocations: 3.25 kB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.328, allocations: 1.531 kB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/1.328, allocations: 19.53 kB / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/1.328, allocations: 9.344 kB / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.328, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.33, allocations: 483.2 kB / 1.318 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/1.33, allocations: 247.6 kB / 1.318 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/1.33, allocations: 18.62 kB / 1.318 GB, free: 8.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/1.331, allocations: 35.47 kB / 1.318 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/1.331, allocations: 8.516 kB / 1.318 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/1.331, allocations: 57.16 kB / 1.318 GB, free: 8.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004482/1.331, allocations: 318.4 kB / 1.318 GB, free: 8.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.331, allocations: 0 / 1.318 GB, free: 8.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005547/1.332, allocations: 76.31 kB / 1.318 GB, free: 8.379 MB / 1.014 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.0002445/1.332, allocations: 130.9 kB / 1.318 GB, free: 8.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.334, allocations: 430.2 kB / 1.319 GB, free: 8.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.334, allocations: 3.938 kB / 1.319 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/1.334, allocations: 124.9 kB / 1.319 GB, free: 7.953 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/1.335, allocations: 34.84 kB / 1.319 GB, free: 7.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/1.337, allocations: 0.6274 MB / 1.32 GB, free: 7.527 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/1.337, allocations: 0.787 MB / 1.32 GB, free: 6.777 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.581e-05/1.337, allocations: 17.69 kB / 1.32 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/1.337, allocations: 14.34 kB / 1.32 GB, free: 6.762 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.337, allocations: 0 / 1.32 GB, free: 6.762 MB / 1.014 GB Notification: Performance of Templates: time 0.01322/1.35, allocations: 5.489 MB / 1.326 GB, free: 3.762 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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: 9.98681669216603]