Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008919/0.008919, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003297, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6064, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001439/0.6079, allocations: 1.243 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.609, allocations: 0.5736 MB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.6091, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.292e-05/0.6092, allocations: 7.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.708e-05/0.6093, allocations: 27.91 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.6099, allocations: 279.5 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.6102, allocations: 447.4 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.6103, allocations: 7.984 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.6107, allocations: 303 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.6109, allocations: 167.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.611, allocations: 16 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.6111, allocations: 12 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6112, allocations: 115.6 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.6114, allocations: 208.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.6117, allocations: 412.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6117, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6117, allocations: 3.938 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6118, allocations: 7.938 kB / 1.027 GB, free: 12.03 MB / 0.7794 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.0009294/0.6127, allocations: 0.7552 MB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6127, allocations: 8.031 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.6128, allocations: 42.69 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.6129, allocations: 52.45 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.6132, allocations: 302.3 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.6133, allocations: 20.36 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.6133, allocations: 28.36 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.6143, allocations: 222 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6143, allocations: 7.875 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.6144, allocations: 3.984 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6144, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.6152, allocations: 111.9 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.6156, allocations: 389.2 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.6167, allocations: 202.1 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.6175, allocations: 124.8 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.6175, allocations: 3.984 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/0.6185, allocations: 241.2 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.6185, allocations: 0 / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002609/0.6211, allocations: 0.5008 MB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6211, allocations: 63.41 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.6215, allocations: 413.8 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.6216, allocations: 41.69 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.6216, allocations: 93.45 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.6217, allocations: 43.53 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.6218, allocations: 37.69 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.6219, allocations: 322.8 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.6221, allocations: 119.9 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.6224, allocations: 173.8 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.6228, allocations: 278.8 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6228, allocations: 0 / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007695/0.6236, allocations: 496.6 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.6236, allocations: 91.31 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6237, allocations: 0 / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6237, allocations: 4 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6238, allocations: 23.92 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6239, allocations: 3.984 kB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.6244, allocations: 79.91 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.6244, allocations: 59.98 kB / 1.032 GB, free: 6.414 MB / 0.7794 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.0002086/0.6247, allocations: 192.5 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.6247, allocations: 39.47 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.6248, allocations: 51.67 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6248, allocations: 0 / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6248, allocations: 0 / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.6248, allocations: 4 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.627, allocations: 0.7623 MB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.627, allocations: 4 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.627, allocations: 11.94 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6271, allocations: 4 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.6271, allocations: 19.97 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6271, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6271, allocations: 4 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.6289, allocations: 494.7 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.6291, allocations: 200.5 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.6292, allocations: 12 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.6297, allocations: 31.97 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.6297, allocations: 11.98 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.6298, allocations: 63.91 kB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002574/0.6301, allocations: 291.1 kB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.452e-06/0.6301, allocations: 0 / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003333/0.6304, allocations: 75.92 kB / 1.034 GB, free: 4.07 MB / 0.7794 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.002031/0.6324, allocations: 1.044 MB / 1.035 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.6337, allocations: 458.4 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6337, allocations: 0 / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.6345, allocations: 132.9 kB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.6349, allocations: 27.27 kB / 1.036 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.6389, allocations: 2.907 MB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.6392, allocations: 0.7748 MB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.6393, allocations: 13.08 kB / 1.039 GB, free: 14.53 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.6393, allocations: 27.42 kB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.6393, allocations: 0 / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.6561, allocations: 5.924 MB / 1.045 GB, free: 8.602 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.6564, allocations: 199.9 kB / 1.045 GB, free: 8.352 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.482, allocations: 0 / 1.045 GB, free: 8.352 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)