Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001248/0.001248, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009899/0.0009899, allocations: 169 kB / 23.27 MB, free: 1.223 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.9657/0.9657, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.376/2.376, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.223e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003041/0.003063, allocations: 1.781 MB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004564, allocations: 0.6128 MB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.004653, allocations: 0 / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.004761, allocations: 15.86 kB / 0.8922 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.004915, allocations: 39.72 kB / 0.8922 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.005859, allocations: 375.2 kB / 0.8926 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.00656, allocations: 0.6009 MB / 0.8931 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006661, allocations: 25.28 kB / 0.8932 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.007254, allocations: 415.6 kB / 0.8936 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.007598, allocations: 155.6 kB / 0.8937 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.007692, allocations: 40 kB / 0.8938 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.007778, allocations: 40 kB / 0.8938 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.0079, allocations: 127.6 kB / 0.8939 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.008056, allocations: 143.7 kB / 0.894 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.008514, allocations: 438.8 kB / 0.8945 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.008516, allocations: 4 kB / 0.8945 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008516, allocations: 0 / 0.8945 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.008523, allocations: 0 / 0.8945 GB, free: 4.93 MB / 0.8542 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.001188/0.009711, allocations: 0.9493 MB / 0.8954 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.009757, allocations: 12.62 kB / 0.8954 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.009896, allocations: 64.66 kB / 0.8955 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.01025, allocations: 278.8 kB / 0.8957 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.0103, allocations: 24.36 kB / 0.8958 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.01037, allocations: 32.36 kB / 0.8958 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.01085, allocations: 220 kB / 0.896 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01086, allocations: 192 / 0.896 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01089, allocations: 4.375 kB / 0.896 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.0109, allocations: 4.375 kB / 0.896 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.01103, allocations: 61.91 kB / 0.8961 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.01199, allocations: 0.5506 MB / 0.8966 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.01223, allocations: 123 kB / 0.8967 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.01236, allocations: 55.67 kB / 0.8968 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.01238, allocations: 4 kB / 0.8968 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.01263, allocations: 176.8 kB / 0.8969 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.01264, allocations: 0 / 0.8969 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0007232/0.01336, allocations: 361.4 kB / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.0134, allocations: 63.34 kB / 0.8974 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.01383, allocations: 430.5 kB / 0.8978 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.01388, allocations: 41.69 kB / 0.8978 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01398, allocations: 152.1 kB / 0.8979 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.01403, allocations: 39.69 kB / 0.898 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.01422, allocations: 143.1 kB / 0.8981 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.01438, allocations: 0.4962 MB / 0.8986 GB, free: 464 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.01463, allocations: 167.3 kB / 0.8988 GB, free: 284 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.01491, allocations: 241.2 kB / 0.899 GB, free: 16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.0152, allocations: 264.9 kB / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.0152, allocations: 0 / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007541/0.01595, allocations: 0.549 MB / 0.8998 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.01603, allocations: 95.3 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01603, allocations: 0 / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01605, allocations: 4 kB / 0.8999 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.01619, allocations: 31.98 kB / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.0162, allocations: 11.92 kB / 0.8999 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.01646, allocations: 55.8 kB / 0.9 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.01654, allocations: 59.98 kB / 0.9 GB, free: 14.86 MB / 0.8698 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.0001665/0.01671, allocations: 187.3 kB / 0.9002 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.01678, allocations: 43.7 kB / 0.9003 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.01684, allocations: 39.72 kB / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01684, allocations: 4 kB / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01685, allocations: 0 / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01685, allocations: 3.938 kB / 0.9003 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.01771, allocations: 0.6255 MB / 0.9009 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01771, allocations: 4 kB / 0.9009 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.01774, allocations: 4 kB / 0.9009 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.01775, allocations: 11.92 kB / 0.9009 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.01778, allocations: 23.92 kB / 0.901 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01778, allocations: 0 / 0.901 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01778, allocations: 0 / 0.901 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.01833, allocations: 463.8 kB / 0.9014 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.01859, allocations: 157.5 kB / 0.9015 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.01866, allocations: 24 kB / 0.9016 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.01893, allocations: 27.97 kB / 0.9016 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.01896, allocations: 7.984 kB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.01902, allocations: 63.97 kB / 0.9017 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000214/0.01924, allocations: 267 kB / 0.9019 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.01924, allocations: 0 / 0.9019 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003899/0.01963, allocations: 75.94 kB / 0.902 GB, free: 12.79 MB / 0.8698 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.0001329/0.01976, allocations: 127.2 kB / 0.9021 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.02039, allocations: 440.7 kB / 0.9025 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02039, allocations: 0 / 0.9025 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.02055, allocations: 87.94 kB / 0.9026 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.02094, allocations: 57.55 kB / 0.9027 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.02167, allocations: 497.6 kB / 0.9031 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.02174, allocations: 83.81 kB / 0.9032 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.817e-05/0.0218, allocations: 13.48 kB / 0.9032 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.02205, allocations: 146.2 kB / 0.9034 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/0.02205, allocations: 0 / 0.9034 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of Templates: time 0.009652/0.03171, allocations: 5.902 MB / 0.9091 GB, free: 5.336 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.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.39162045205012]