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.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.001428/0.001428, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001471/0.001471, allocations: 173 kB / 23.02 MB, free: 1.547 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.634e-05, allocations: 9.344 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001975/0.001992, allocations: 1.798 MB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003035, allocations: 0.6218 MB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003112, allocations: 1.641 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.003217, allocations: 11.81 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.003347, allocations: 38.19 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.0042, allocations: 369.3 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.004798, allocations: 0.6009 MB / 0.8816 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.004896, allocations: 21.28 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.005352, allocations: 424.2 kB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.005613, allocations: 136.7 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.005676, allocations: 40.75 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.005735, allocations: 40 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.005834, allocations: 135.2 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.005954, allocations: 147.7 kB / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.006303, allocations: 438.8 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006305, allocations: 0 / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.006305, allocations: 0 / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.006311, allocations: 0 / 0.8829 GB, free: 1.477 MB / 0.8386 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.0009581/0.007269, allocations: 0.9532 MB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.007301, allocations: 8.031 kB / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.007422, allocations: 64.66 kB / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.0077, allocations: 279.5 kB / 0.8842 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.007738, allocations: 24.95 kB / 0.8842 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.007785, allocations: 32.36 kB / 0.8842 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.008177, allocations: 223.7 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.008186, allocations: 4.125 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.008205, allocations: 4.359 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.008215, allocations: 4.375 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.008327, allocations: 59.91 kB / 0.8845 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.009066, allocations: 0.597 MB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.009257, allocations: 131 kB / 0.8852 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.009363, allocations: 67.59 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.009378, allocations: 8 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.009581, allocations: 189 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.009582, allocations: 0 / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004985/0.01008, allocations: 371.7 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.01011, allocations: 63.39 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.01039, allocations: 438.7 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.01043, allocations: 45.64 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.01049, allocations: 152 kB / 0.8865 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.01052, allocations: 39.73 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.01064, allocations: 139.1 kB / 0.8867 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01075, allocations: 0.4962 MB / 0.8871 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.01095, allocations: 183.3 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.01116, allocations: 250.1 kB / 0.8876 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.01139, allocations: 287.3 kB / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0114, allocations: 0 / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005422/0.01194, allocations: 0.5742 MB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.01199, allocations: 91.38 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01199, allocations: 192 / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01201, allocations: 11.98 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01212, allocations: 31.97 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01212, allocations: 11.88 kB / 0.8885 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.0123, allocations: 43.86 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.01235, allocations: 59.98 kB / 0.8886 GB, free: 11.24 MB / 0.8542 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.0001174/0.01247, allocations: 187.1 kB / 0.8888 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.01252, allocations: 55.66 kB / 0.8889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.01256, allocations: 35.72 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01256, allocations: 4 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01257, allocations: 0 / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01257, allocations: 0 / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.01319, allocations: 0.6965 MB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01319, allocations: 0 / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.01324, allocations: 11.92 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01324, allocations: 4 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.01327, allocations: 19.98 kB / 0.8896 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01327, allocations: 4 kB / 0.8896 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01327, allocations: 0 / 0.8896 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.01365, allocations: 467.3 kB / 0.8901 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.0138, allocations: 169.5 kB / 0.8902 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.01385, allocations: 12 kB / 0.8902 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.014, allocations: 27.97 kB / 0.8903 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.01402, allocations: 11.92 kB / 0.8903 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.01406, allocations: 63.98 kB / 0.8903 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001684/0.01423, allocations: 279.1 kB / 0.8906 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01423, allocations: 0 / 0.8906 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002181/0.01445, allocations: 71.92 kB / 0.8907 GB, free: 9.07 MB / 0.8542 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 9.508e-05/0.01454, allocations: 128 kB / 0.8908 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.01498, allocations: 457.7 kB / 0.8912 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01498, allocations: 4.125 kB / 0.8912 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01508, allocations: 79.66 kB / 0.8913 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01534, allocations: 59.22 kB / 0.8914 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.01585, allocations: 0.4904 MB / 0.8918 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01589, allocations: 95.73 kB / 0.8919 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.01593, allocations: 17.48 kB / 0.8919 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.01596, allocations: 16.5 kB / 0.892 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01596, allocations: 0 / 0.892 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.007208/0.02317, allocations: 7.038 MB / 0.8988 GB, free: 0.5703 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.35727497888729]