Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001802/0.001802, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00214/0.00214, allocations: 174.2 kB / 22.46 MB, free: 5.355 MB / 14.72 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.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.905/2.905, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.285e-05, allocations: 5.938 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002945/0.002978, allocations: 1.524 MB / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004388, allocations: 0.5188 MB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.004474, allocations: 4 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.00457, allocations: 7.875 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.004705, allocations: 43.5 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.005668, allocations: 315.5 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.006384, allocations: 491.4 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.006443, allocations: 7.938 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.007129, allocations: 355.6 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.007497, allocations: 131.7 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.007626, allocations: 24 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.965e-05/0.007726, allocations: 31.94 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.007881, allocations: 119.7 kB / 1.004 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.008075, allocations: 131.7 kB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.008662, allocations: 454.8 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.008665, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.001e-06/0.008666, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.008685, allocations: 4 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00148/0.01016, allocations: 0.8028 MB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.0102, allocations: 8.031 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.01034, allocations: 56.66 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.01076, allocations: 260 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.01081, allocations: 16.38 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.01089, allocations: 24.36 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.01199, allocations: 237.9 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.012, allocations: 192 / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.01203, allocations: 4.375 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01203, allocations: 384 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.0129, allocations: 115.9 kB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.01335, allocations: 277.1 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.01457, allocations: 182.5 kB / 1.006 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.0154, allocations: 112.8 kB / 1.006 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.01543, allocations: 4 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.01651, allocations: 251 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.01651, allocations: 0 / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002911/0.01942, allocations: 0.5206 MB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.01947, allocations: 59.39 kB / 1.007 GB, free: 148 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.01996, allocations: 417.8 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.02004, allocations: 41.69 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.02014, allocations: 101.4 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.02018, allocations: 23.81 kB / 1.008 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.0204, allocations: 137.3 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.02055, allocations: 322.8 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.02092, allocations: 199.3 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.0213, allocations: 245.2 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.02173, allocations: 267 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.02173, allocations: 3.938 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009954/0.02273, allocations: 0.5696 MB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/0.02282, allocations: 79.38 kB / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02283, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.02285, allocations: 4 kB / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.02303, allocations: 31.91 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.02304, allocations: 3.938 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.02359, allocations: 68.09 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.02368, allocations: 55.98 kB / 1.009 GB, free: 13.46 MB / 0.9669 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002503/0.02393, allocations: 196.2 kB / 1.01 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.024, allocations: 39.75 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.02407, allocations: 39.69 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02408, allocations: 4 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.02408, allocations: 0 / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02409, allocations: 3.938 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.02652, allocations: 0.7128 MB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02652, allocations: 0 / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.02656, allocations: 7.938 kB / 1.01 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02656, allocations: 3.938 kB / 1.01 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.02661, allocations: 31.91 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02661, allocations: 0 / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.02661, allocations: 4 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.02857, allocations: 0.4956 MB / 1.011 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.02884, allocations: 129.5 kB / 1.011 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.02892, allocations: 15.92 kB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.02946, allocations: 43.97 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.0295, allocations: 11.92 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.02958, allocations: 59.97 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003233/0.02991, allocations: 291.1 kB / 1.011 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.02991, allocations: 0 / 1.011 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003847/0.03029, allocations: 71.98 kB / 1.012 GB, free: 11.26 MB / 0.9669 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001831/0.03047, allocations: 111.2 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.03194, allocations: 498.2 kB / 1.012 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.03194, allocations: 0 / 1.012 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.0328, allocations: 126.6 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.03319, allocations: 35.16 kB / 1.012 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.03481, allocations: 0.5756 MB / 1.013 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.03499, allocations: 159 kB / 1.013 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.03506, allocations: 21.12 kB / 1.013 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.0351, allocations: 20.48 kB / 1.013 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.0351, allocations: 0 / 1.013 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of Templates: time 0.01114/0.04624, allocations: 5.848 MB / 1.019 GB, free: 3.73 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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: 8.318643547594547]