Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001351/0.001351, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001565/0.001565, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9681/0.9681, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.757/1.757, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.787 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.08e-05, allocations: 6.25 kB / 0.787 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002156/0.002187, allocations: 1.56 MB / 0.7886 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003528, allocations: 0.5442 MB / 0.7891 GB, free: 9.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.003595, allocations: 4 kB / 0.7891 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.003701, allocations: 8.703 kB / 0.7891 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.003812, allocations: 20.94 kB / 0.7891 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.004493, allocations: 319.8 kB / 0.7894 GB, free: 9.309 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.004885, allocations: 488.3 kB / 0.7899 GB, free: 8.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.004934, allocations: 7.984 kB / 0.7899 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.005281, allocations: 364.2 kB / 0.7903 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.005486, allocations: 129.1 kB / 0.7904 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.005537, allocations: 24 kB / 0.7904 GB, free: 8.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.005586, allocations: 28 kB / 0.7904 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.005693, allocations: 116.9 kB / 0.7905 GB, free: 8.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.005808, allocations: 131.7 kB / 0.7907 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.006126, allocations: 374.8 kB / 0.791 GB, free: 7.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.006131, allocations: 0 / 0.791 GB, free: 7.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/0.006133, allocations: 4.531 kB / 0.791 GB, free: 7.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.006139, allocations: 2.812 kB / 0.791 GB, free: 7.68 MB / 0.698 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.000906/0.007045, allocations: 0.9063 MB / 0.7919 GB, free: 6.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007083, allocations: 8.031 kB / 0.7919 GB, free: 6.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.007189, allocations: 60.7 kB / 0.792 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.007448, allocations: 258.8 kB / 0.7922 GB, free: 6.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.007488, allocations: 20.36 kB / 0.7923 GB, free: 6.332 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.007536, allocations: 33.77 kB / 0.7923 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.007926, allocations: 208.8 kB / 0.7925 GB, free: 6.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.007932, allocations: 1.562 kB / 0.7925 GB, free: 6.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.007955, allocations: 4.375 kB / 0.7925 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.007963, allocations: 384 / 0.7925 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.008066, allocations: 56.25 kB / 0.7925 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.008352, allocations: 314.5 kB / 0.7928 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.008562, allocations: 122.6 kB / 0.793 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.008674, allocations: 71 kB / 0.793 GB, free: 5.508 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.008697, allocations: 4.828 kB / 0.793 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.008909, allocations: 185.7 kB / 0.7932 GB, free: 5.312 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.008911, allocations: 5.031 kB / 0.7932 GB, free: 5.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005459/0.009456, allocations: 385.8 kB / 0.7936 GB, free: 4.934 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.009496, allocations: 55.41 kB / 0.7936 GB, free: 4.867 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.009762, allocations: 422.7 kB / 0.794 GB, free: 4.434 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.009797, allocations: 41.69 kB / 0.7941 GB, free: 4.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.00986, allocations: 140.2 kB / 0.7942 GB, free: 4.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.009896, allocations: 39.73 kB / 0.7942 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.01002, allocations: 131.1 kB / 0.7944 GB, free: 4.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.01013, allocations: 0.4923 MB / 0.7949 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.01034, allocations: 175.3 kB / 0.795 GB, free: 3.383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01055, allocations: 245 kB / 0.7953 GB, free: 3.102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.01079, allocations: 283.2 kB / 0.7955 GB, free: 2.785 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0108, allocations: 0 / 0.7955 GB, free: 2.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008115/0.01161, allocations: 0.5587 MB / 0.7961 GB, free: 2.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.01167, allocations: 93.72 kB / 0.7962 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01168, allocations: 0 / 0.7962 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.0117, allocations: 4 kB / 0.7962 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01183, allocations: 35.91 kB / 0.7962 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01184, allocations: 7.938 kB / 0.7962 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.01202, allocations: 43.86 kB / 0.7962 GB, free: 2.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.01208, allocations: 59.98 kB / 0.7963 GB, free: 1.945 MB / 0.698 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.0001299/0.01221, allocations: 190.4 kB / 0.7965 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.01226, allocations: 47.77 kB / 0.7965 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.01231, allocations: 31.67 kB / 0.7966 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01231, allocations: 8 kB / 0.7966 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01231, allocations: 0 / 0.7966 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01232, allocations: 3.938 kB / 0.7966 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.01303, allocations: 0.6756 MB / 0.7972 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01303, allocations: 0 / 0.7972 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.01306, allocations: 4 kB / 0.7972 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01306, allocations: 4 kB / 0.7972 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.01309, allocations: 27.91 kB / 0.7973 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01309, allocations: 4 kB / 0.7973 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01309, allocations: 0 / 0.7973 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.01349, allocations: 452 kB / 0.7977 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.01363, allocations: 129.5 kB / 0.7978 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.01368, allocations: 11.94 kB / 0.7978 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.01385, allocations: 23.97 kB / 0.7979 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.01388, allocations: 15.92 kB / 0.7979 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.01393, allocations: 55.98 kB / 0.7979 GB, free: 212 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001716/0.0141, allocations: 275.1 kB / 0.7982 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.0141, allocations: 3.938 kB / 0.7982 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002382/0.01434, allocations: 67.98 kB / 0.7983 GB, free: 15.87 MB / 0.7136 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.0001287/0.01447, allocations: 113.7 kB / 0.7984 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.01494, allocations: 436.1 kB / 0.7988 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01494, allocations: 0 / 0.7988 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.01505, allocations: 80.02 kB / 0.7989 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.01534, allocations: 55.27 kB / 0.7989 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.01613, allocations: 490.9 kB / 0.7994 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.01618, allocations: 83.81 kB / 0.7995 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01622, allocations: 17.14 kB / 0.7995 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.01626, allocations: 20.48 kB / 0.7995 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.01626, allocations: 0 / 0.7995 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.006937/0.02319, allocations: 5.873 MB / 0.8052 GB, free: 8.594 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.954489206895232]