Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001812/0.001812, allocations: 190.7 kB / 22.23 MB, free: 5.156 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 / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.61 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00335/0.4211, allocations: 1.757 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4226, allocations: 0.6286 MB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.4226, allocations: 4 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.4228, allocations: 15.81 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.4229, allocations: 23.86 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.4238, allocations: 367.3 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.4246, allocations: 0.6048 MB / 1.311 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4247, allocations: 29.22 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.4252, allocations: 311.6 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.4255, allocations: 167.5 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.4256, allocations: 40 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.4257, allocations: 44 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4258, allocations: 119.7 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.4261, allocations: 219 kB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.4268, allocations: 0.5917 MB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4268, allocations: 15.88 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4268, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4268, allocations: 0 / 1.312 GB, free: 12.84 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.001507/0.4283, allocations: 0.8417 MB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4283, allocations: 8.922 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4285, allocations: 56.66 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.429, allocations: 276.7 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.429, allocations: 24.3 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.4291, allocations: 28.38 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4301, allocations: 241.9 kB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4301, allocations: 192 / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.4302, allocations: 7.922 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4302, allocations: 4 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.4309, allocations: 113.8 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.4324, allocations: 0.6438 MB / 1.314 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4334, allocations: 182.4 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/0.4342, allocations: 104.8 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4342, allocations: 0 / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.4352, allocations: 232.3 kB / 1.315 GB, free: 9.941 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.4352, allocations: 4 kB / 1.315 GB, free: 9.938 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002567/0.4378, allocations: 0.4905 MB / 1.315 GB, free: 9.441 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.4378, allocations: 63.39 kB / 1.315 GB, free: 9.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.4384, allocations: 441.9 kB / 1.316 GB, free: 8.922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.4385, allocations: 37.7 kB / 1.316 GB, free: 8.879 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4386, allocations: 101.4 kB / 1.316 GB, free: 8.777 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.4387, allocations: 47.61 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.4389, allocations: 141.5 kB / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4391, allocations: 330.8 kB / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.4394, allocations: 139.9 kB / 1.317 GB, free: 8.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.4397, allocations: 189.9 kB / 1.317 GB, free: 7.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.4402, allocations: 301.2 kB / 1.317 GB, free: 7.582 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4402, allocations: 0 / 1.317 GB, free: 7.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001002/0.4412, allocations: 0.5291 MB / 1.318 GB, free: 7.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.4413, allocations: 93.25 kB / 1.318 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4413, allocations: 4 kB / 1.318 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.4414, allocations: 4 kB / 1.318 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.4416, allocations: 23.92 kB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4416, allocations: 4 kB / 1.318 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.4421, allocations: 56.03 kB / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4422, allocations: 63.97 kB / 1.318 GB, free: 6.781 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.0004025/0.4426, allocations: 228.2 kB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.4427, allocations: 39.7 kB / 1.318 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.4428, allocations: 43.72 kB / 1.318 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4428, allocations: 4 kB / 1.318 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4428, allocations: 4 kB / 1.318 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4428, allocations: 0 / 1.318 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.4452, allocations: 0.765 MB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4452, allocations: 0 / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.4452, allocations: 4 kB / 1.319 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4452, allocations: 0 / 1.319 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.4453, allocations: 23.97 kB / 1.319 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.4453, allocations: 7.938 kB / 1.319 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4453, allocations: 3.938 kB / 1.319 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.4471, allocations: 487.4 kB / 1.319 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.4475, allocations: 173.5 kB / 1.319 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.4476, allocations: 16 kB / 1.319 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.4481, allocations: 31.91 kB / 1.32 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4481, allocations: 7.984 kB / 1.32 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.4482, allocations: 63.97 kB / 1.32 GB, free: 4.832 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004256/0.4486, allocations: 311.1 kB / 1.32 GB, free: 4.531 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4486, allocations: 4 kB / 1.32 GB, free: 4.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004793/0.4491, allocations: 83.88 kB / 1.32 GB, free: 4.445 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.0002208/0.4493, allocations: 124.6 kB / 1.32 GB, free: 4.312 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.4508, allocations: 441.5 kB / 1.321 GB, free: 3.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4508, allocations: 0 / 1.321 GB, free: 3.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007406/0.4515, allocations: 119.8 kB / 1.321 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.452, allocations: 41.19 kB / 1.321 GB, free: 3.707 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4539, allocations: 0.5937 MB / 1.321 GB, free: 3.082 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4544, allocations: 0.7864 MB / 1.322 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.305e-05/0.4545, allocations: 13.42 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.4545, allocations: 15.44 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of SimCode: time 1.573e-06/0.4545, allocations: 4 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of Templates: time 0.01257/0.4671, allocations: 5.525 MB / 1.327 GB, free: 12.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.516956093721092]