Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001898/0.001898, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002022/0.002022, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.016/3.016, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.974e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003357/0.003387, allocations: 1.763 MB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004946, allocations: 0.6069 MB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.00503, allocations: 1.688 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.005139, allocations: 11.86 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.005288, allocations: 35.73 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.006301, allocations: 380.7 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000831/0.007132, allocations: 0.5931 MB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.007235, allocations: 17.3 kB / 0.8142 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.007986, allocations: 424.2 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.008502, allocations: 142.1 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.008664, allocations: 41.59 kB / 0.8148 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.008812, allocations: 40 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.008985, allocations: 135.6 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.009218, allocations: 143.7 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008355/0.01005, allocations: 0.6434 MB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01006, allocations: 0 / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01006, allocations: 0.5312 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.01007, allocations: 0 / 0.8157 GB, free: 13.12 MB / 0.7761 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.001711/0.01178, allocations: 0.9781 MB / 0.8166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01182, allocations: 12.03 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.012, allocations: 60.66 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.01255, allocations: 283.3 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.0126, allocations: 20.95 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.01269, allocations: 36.3 kB / 0.817 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.01338, allocations: 220 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01339, allocations: 192 / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.01342, allocations: 4.375 kB / 0.8173 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01343, allocations: 5.75 kB / 0.8173 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.01387, allocations: 95.88 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.01548, allocations: 0.6767 MB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.01614, allocations: 161.2 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.01656, allocations: 91.58 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.01659, allocations: 4.25 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.0172, allocations: 219.6 kB / 0.8185 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.0172, allocations: 0 / 0.8185 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.001685/0.01889, allocations: 446.7 kB / 0.8189 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.01895, allocations: 63.39 kB / 0.8189 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.0196, allocations: 0.511 MB / 0.8194 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.01967, allocations: 46.27 kB / 0.8195 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.0198, allocations: 149.5 kB / 0.8196 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.01987, allocations: 51.67 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.02015, allocations: 155.1 kB / 0.8198 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002798/0.02043, allocations: 0.504 MB / 0.8203 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.02086, allocations: 241.8 kB / 0.8206 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.02136, allocations: 321 kB / 0.8209 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.0219, allocations: 339.6 kB / 0.8212 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.02191, allocations: 0.5625 kB / 0.8212 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001323/0.02323, allocations: 0.6694 MB / 0.8218 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.02333, allocations: 88.34 kB / 0.8219 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.02334, allocations: 4 kB / 0.8219 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.02336, allocations: 4.844 kB / 0.8219 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.02357, allocations: 39.91 kB / 0.822 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.02358, allocations: 0 / 0.822 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.02395, allocations: 48.17 kB / 0.822 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.02406, allocations: 67.98 kB / 0.8221 GB, free: 6.23 MB / 0.7761 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.0002608/0.02432, allocations: 199.1 kB / 0.8223 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.02442, allocations: 43.7 kB / 0.8223 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.92e-05/0.0245, allocations: 39.72 kB / 0.8223 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.0245, allocations: 0 / 0.8223 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.02451, allocations: 0 / 0.8223 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.02451, allocations: 4 kB / 0.8224 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.02636, allocations: 0.8112 MB / 0.8231 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02636, allocations: 1.031 kB / 0.8231 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.0264, allocations: 4 kB / 0.8232 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.0264, allocations: 9.062 kB / 0.8232 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.02645, allocations: 23.97 kB / 0.8232 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02645, allocations: 0 / 0.8232 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02645, allocations: 0 / 0.8232 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.0278, allocations: 0.5121 MB / 0.8237 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.0282, allocations: 165.5 kB / 0.8238 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.02828, allocations: 16.72 kB / 0.8239 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.02858, allocations: 25.84 kB / 0.8239 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.02862, allocations: 7.984 kB / 0.8239 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/0.02871, allocations: 63.97 kB / 0.8239 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003866/0.0291, allocations: 307.1 kB / 0.8242 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0291, allocations: 0 / 0.8242 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003994/0.0295, allocations: 73.34 kB / 0.8243 GB, free: 3.879 MB / 0.7761 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.0002125/0.02971, allocations: 129 kB / 0.8244 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.03102, allocations: 0.6414 MB / 0.8251 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03103, allocations: 4 kB / 0.8251 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.03149, allocations: 107.6 kB / 0.8252 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.03196, allocations: 65.53 kB / 0.8252 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.03326, allocations: 0.5195 MB / 0.8257 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.03348, allocations: 178.8 kB / 0.8259 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.044e-05/0.03355, allocations: 13.48 kB / 0.8259 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.03361, allocations: 20.48 kB / 0.8259 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.03361, allocations: 4 kB / 0.8259 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.01341/0.04701, allocations: 6.408 MB / 0.8322 GB, free: 11.66 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.243988928035833]