Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009165/0.0009165, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009464/0.0009464, allocations: 169 kB / 23.82 MB, free: 0.7422 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 0.8835/0.8835, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] 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 1.893/1.893, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8115 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.801e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002762/0.00279, allocations: 1.58 MB / 0.813 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004184, allocations: 0.5391 MB / 0.8136 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.00425, allocations: 0 / 0.8136 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.004372, allocations: 13.45 kB / 0.8136 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.004509, allocations: 31.84 kB / 0.8136 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.005384, allocations: 321 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.005926, allocations: 483.4 kB / 0.8144 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.005974, allocations: 7.984 kB / 0.8144 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.006459, allocations: 357 kB / 0.8147 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.006757, allocations: 127.7 kB / 0.8148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.006842, allocations: 25.84 kB / 0.8149 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.006912, allocations: 28 kB / 0.8149 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.007052, allocations: 115.7 kB / 0.815 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.007211, allocations: 131.7 kB / 0.8151 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.007646, allocations: 378.9 kB / 0.8155 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.00765, allocations: 1.594 kB / 0.8155 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/0.007652, allocations: 3.938 kB / 0.8155 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.007658, allocations: 0 / 0.8155 GB, free: 12.58 MB / 0.7292 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.001341/0.009, allocations: 0.9115 MB / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.009041, allocations: 8.031 kB / 0.8164 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.009174, allocations: 60.69 kB / 0.8164 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.009455, allocations: 254.9 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.009493, allocations: 22.3 kB / 0.8167 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.00954, allocations: 28.36 kB / 0.8167 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.009927, allocations: 200.9 kB / 0.8169 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.009935, allocations: 5.5 kB / 0.8169 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.009954, allocations: 384 / 0.8169 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.009962, allocations: 4.312 kB / 0.8169 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.01006, allocations: 61.09 kB / 0.817 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.01034, allocations: 312.4 kB / 0.8173 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01053, allocations: 122.7 kB / 0.8174 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.01063, allocations: 64.44 kB / 0.8175 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01065, allocations: 7.406 kB / 0.8175 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.01085, allocations: 183 kB / 0.8177 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01085, allocations: 0.9375 kB / 0.8177 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005305/0.01138, allocations: 381.4 kB / 0.818 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.01142, allocations: 59.41 kB / 0.8181 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.01168, allocations: 422.7 kB / 0.8185 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.01172, allocations: 41.69 kB / 0.8185 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.01179, allocations: 144.2 kB / 0.8187 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01182, allocations: 39.67 kB / 0.8187 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01194, allocations: 131.1 kB / 0.8188 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.01204, allocations: 0.4923 MB / 0.8193 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.01222, allocations: 175.3 kB / 0.8195 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.01241, allocations: 250.2 kB / 0.8197 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.01264, allocations: 273 kB / 0.82 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01264, allocations: 0 / 0.82 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005144/0.01315, allocations: 0.5611 MB / 0.8205 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.0132, allocations: 83.38 kB / 0.8206 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01321, allocations: 0 / 0.8206 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01322, allocations: 7.938 kB / 0.8206 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01335, allocations: 39.91 kB / 0.8206 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01336, allocations: 3.938 kB / 0.8206 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.01353, allocations: 43.91 kB / 0.8207 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.01359, allocations: 63.98 kB / 0.8207 GB, free: 6.863 MB / 0.7292 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.0001153/0.0137, allocations: 190.6 kB / 0.8209 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.01375, allocations: 47.75 kB / 0.821 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.01379, allocations: 31.69 kB / 0.821 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01379, allocations: 4 kB / 0.821 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0138, allocations: 4 kB / 0.821 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0138, allocations: 3.938 kB / 0.821 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.01444, allocations: 0.676 MB / 0.8217 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01444, allocations: 4 kB / 0.8217 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.01447, allocations: 4 kB / 0.8217 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01447, allocations: 3.984 kB / 0.8217 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.01449, allocations: 19.92 kB / 0.8217 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01449, allocations: 0 / 0.8217 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0145, allocations: 4 kB / 0.8217 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.01485, allocations: 460 kB / 0.8221 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.01498, allocations: 129.5 kB / 0.8223 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.01502, allocations: 27.86 kB / 0.8223 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.01517, allocations: 19.73 kB / 0.8223 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.01519, allocations: 7.984 kB / 0.8223 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.01524, allocations: 63.97 kB / 0.8224 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001385/0.01537, allocations: 267.1 kB / 0.8226 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01537, allocations: 0 / 0.8226 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000222/0.0156, allocations: 67.98 kB / 0.8227 GB, free: 4.785 MB / 0.7292 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.0001067/0.0157, allocations: 119.8 kB / 0.8228 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.0161, allocations: 425.6 kB / 0.8232 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01611, allocations: 4 kB / 0.8232 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.01621, allocations: 83.97 kB / 0.8233 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01645, allocations: 47.3 kB / 0.8234 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.01713, allocations: 486.8 kB / 0.8238 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.01718, allocations: 87.72 kB / 0.8239 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.01721, allocations: 17.14 kB / 0.8239 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.01724, allocations: 16.5 kB / 0.8239 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of SimCode: time 8.21e-07/0.01724, allocations: 0 / 0.8239 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of Templates: time 0.007072/0.02432, allocations: 6.508 MB / 0.8303 GB, free: 12.88 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_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: 4.992879013065249]