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.002351/0.002351, allocations: 85.48 kB / 19.44 MB, free: 344 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.002719/0.002719, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.431/3.431, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.703e-06/1.703e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.214e-05, allocations: 6.156 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003229/0.003261, allocations: 1.771 MB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.005009, allocations: 0.6052 MB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.005164, allocations: 0 / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.005307, allocations: 15.86 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.005479, allocations: 40.97 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.00655, allocations: 363.9 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.007266, allocations: 0.6024 MB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.007365, allocations: 21.3 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.007968, allocations: 423.5 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.008283, allocations: 142.1 kB / 0.8814 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.008422, allocations: 43.94 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.008545, allocations: 40 kB / 0.8815 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.008707, allocations: 131.6 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.008924, allocations: 147.7 kB / 0.8817 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007794/0.009703, allocations: 0.6428 MB / 0.8823 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.009707, allocations: 2.031 kB / 0.8824 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.009708, allocations: 0 / 0.8824 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.009715, allocations: 0 / 0.8824 GB, free: 1.645 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.001625/0.01134, allocations: 0.9764 MB / 0.8833 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.01138, allocations: 12.03 kB / 0.8833 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01153, allocations: 61.38 kB / 0.8834 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.01205, allocations: 282.8 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.0121, allocations: 25.45 kB / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.01219, allocations: 32.36 kB / 0.8837 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.01286, allocations: 228.5 kB / 0.8839 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.01287, allocations: 192 / 0.8839 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.01289, allocations: 384 / 0.8839 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.0129, allocations: 4.375 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.01334, allocations: 99.81 kB / 0.884 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.01487, allocations: 0.6712 MB / 0.8847 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.01551, allocations: 162.9 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.01593, allocations: 95.58 kB / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.01596, allocations: 0 / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.01656, allocations: 229 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.01656, allocations: 0 / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.001608/0.01817, allocations: 441.1 kB / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.01823, allocations: 63.33 kB / 0.8856 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.01886, allocations: 0.5182 MB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.01892, allocations: 37.7 kB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.01905, allocations: 164.1 kB / 0.8863 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.01911, allocations: 39.73 kB / 0.8864 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.01937, allocations: 163.1 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000291/0.01966, allocations: 0.5001 MB / 0.887 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.0201, allocations: 243.2 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.02058, allocations: 317.9 kB / 0.8875 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.02109, allocations: 337 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02109, allocations: 4 kB / 0.8879 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001168/0.02226, allocations: 0.6649 MB / 0.8885 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.02236, allocations: 87.38 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.02237, allocations: 7.938 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.02239, allocations: 4 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.02259, allocations: 35.97 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.0226, allocations: 4.188 kB / 0.8886 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.02296, allocations: 51.8 kB / 0.8887 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.02307, allocations: 59.98 kB / 0.8887 GB, free: 10.72 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.0002334/0.0233, allocations: 187.2 kB / 0.8889 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.0234, allocations: 55.66 kB / 0.889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.02348, allocations: 39.72 kB / 0.889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02348, allocations: 0 / 0.889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.02348, allocations: 0 / 0.889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02349, allocations: 4 kB / 0.889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.0254, allocations: 0.8097 MB / 0.8898 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.0254, allocations: 0 / 0.8898 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.02544, allocations: 7.938 kB / 0.8898 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.02544, allocations: 4 kB / 0.8898 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.02548, allocations: 23.91 kB / 0.8898 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02548, allocations: 0 / 0.8898 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.02549, allocations: 0 / 0.8898 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.02667, allocations: 0.5077 MB / 0.8903 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.02702, allocations: 165.5 kB / 0.8905 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.02711, allocations: 19.98 kB / 0.8905 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.02739, allocations: 15.98 kB / 0.8905 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.02744, allocations: 15.97 kB / 0.8905 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.02752, allocations: 59.97 kB / 0.8906 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003728/0.02789, allocations: 315.1 kB / 0.8909 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02789, allocations: 0 / 0.8909 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003962/0.02829, allocations: 68 kB / 0.891 GB, free: 8.367 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 0.000191/0.02848, allocations: 120.2 kB / 0.8911 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.02973, allocations: 0.6452 MB / 0.8917 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02973, allocations: 384 / 0.8917 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.03016, allocations: 119.6 kB / 0.8918 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.0306, allocations: 60.2 kB / 0.8919 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.03179, allocations: 0.5253 MB / 0.8924 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.032, allocations: 170.9 kB / 0.8926 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.03206, allocations: 17.48 kB / 0.8926 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.03212, allocations: 20.48 kB / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.03212, allocations: 0 / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of Templates: time 0.01221/0.04433, allocations: 6.404 MB / 0.8989 GB, free: 148 kB / 0.8542 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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: 8.807114684954286]