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.001677/0.001677, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001605/0.001605, allocations: 170 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 1.006/1.006, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.386/2.386, 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.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.903e-06/1.903e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.499e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002536/0.002571, allocations: 1.777 MB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003715, allocations: 0.6167 MB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.003787, allocations: 0 / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.003893, allocations: 11.88 kB / 0.8922 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.00402, allocations: 31.78 kB / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.00467, allocations: 379.2 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.00511, allocations: 0.6086 MB / 0.8931 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.005207, allocations: 21.3 kB / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.005634, allocations: 419.5 kB / 0.8936 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.005879, allocations: 143.7 kB / 0.8937 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.005948, allocations: 43.94 kB / 0.8937 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.006006, allocations: 40 kB / 0.8938 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.006113, allocations: 135.6 kB / 0.8939 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.006222, allocations: 151.7 kB / 0.8941 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.00655, allocations: 426.8 kB / 0.8945 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.006554, allocations: 0 / 0.8945 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.223e-06/0.006556, allocations: 0 / 0.8945 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.006562, allocations: 0 / 0.8945 GB, free: 4.918 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.0009086/0.007471, allocations: 0.961 MB / 0.8954 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.007522, allocations: 8.625 kB / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.007802, allocations: 64.64 kB / 0.8955 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.008076, allocations: 286.8 kB / 0.8957 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.008114, allocations: 24.36 kB / 0.8958 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.00816, allocations: 28.38 kB / 0.8958 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.008671, allocations: 214.7 kB / 0.896 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008682, allocations: 192 / 0.896 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.008704, allocations: 384 / 0.896 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.008713, allocations: 4.375 kB / 0.896 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.008853, allocations: 65.2 kB / 0.8961 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.009556, allocations: 0.5428 MB / 0.8966 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.009741, allocations: 122.9 kB / 0.8967 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.009819, allocations: 59.66 kB / 0.8968 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.009844, allocations: 4 kB / 0.8968 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.01002, allocations: 176.8 kB / 0.8969 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.01002, allocations: 0 / 0.8969 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004766/0.0105, allocations: 357.4 kB / 0.8973 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.01054, allocations: 67.34 kB / 0.8973 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.01079, allocations: 430.4 kB / 0.8978 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.01083, allocations: 45.69 kB / 0.8978 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.0109, allocations: 152.1 kB / 0.8979 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01094, allocations: 43.66 kB / 0.898 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01107, allocations: 143.1 kB / 0.8981 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.0112, allocations: 0.4884 MB / 0.8986 GB, free: 448 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.01137, allocations: 175.3 kB / 0.8988 GB, free: 260 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.01156, allocations: 241.1 kB / 0.899 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.01176, allocations: 258.9 kB / 0.8992 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01176, allocations: 3.984 kB / 0.8992 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004882/0.01225, allocations: 0.543 MB / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.01232, allocations: 89.41 kB / 0.8999 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01232, allocations: 7.938 kB / 0.8999 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01233, allocations: 0 / 0.8999 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01245, allocations: 39.91 kB / 0.8999 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01246, allocations: 4 kB / 0.8999 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.01263, allocations: 59.75 kB / 0.9 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.01268, allocations: 56.17 kB / 0.9 GB, free: 14.84 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.000135/0.01281, allocations: 191.2 kB / 0.9002 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.01287, allocations: 47.7 kB / 0.9002 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.01292, allocations: 35.72 kB / 0.9003 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01292, allocations: 4 kB / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01292, allocations: 0 / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01293, allocations: 0 / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.01354, allocations: 0.6411 MB / 0.9009 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01355, allocations: 0 / 0.9009 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.01358, allocations: 7.984 kB / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01358, allocations: 0 / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.0136, allocations: 27.91 kB / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0136, allocations: 0 / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0136, allocations: 0 / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.01398, allocations: 459.9 kB / 0.9014 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.01415, allocations: 169.5 kB / 0.9015 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.0142, allocations: 12 kB / 0.9016 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.01439, allocations: 35.91 kB / 0.9016 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.01441, allocations: 11.98 kB / 0.9016 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.01446, allocations: 55.97 kB / 0.9017 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001427/0.0146, allocations: 267 kB / 0.9019 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.0146, allocations: 0 / 0.9019 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002254/0.01482, allocations: 75.94 kB / 0.902 GB, free: 12.77 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.0001517/0.01498, allocations: 135.2 kB / 0.9021 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006171/0.01559, allocations: 434.6 kB / 0.9025 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01559, allocations: 384 / 0.9025 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.01569, allocations: 81.98 kB / 0.9026 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.01596, allocations: 63.61 kB / 0.9027 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.01653, allocations: 490.8 kB / 0.9031 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.01659, allocations: 91.8 kB / 0.9032 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.01663, allocations: 17.48 kB / 0.9032 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.01681, allocations: 138.2 kB / 0.9034 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of SimCode: time 1.173e-06/0.01682, allocations: 4 kB / 0.9034 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of Templates: time 0.007597/0.02441, allocations: 5.905 MB / 0.9091 GB, free: 5.312 MB / 0.8698 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.421914611943066]