Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001326/0.001326, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001513/0.001513, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7101 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.89 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6031, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002608/0.6058, allocations: 1.582 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.607, allocations: 0.5281 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.607, allocations: 8 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.6071, allocations: 7.922 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.6072, allocations: 23.91 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.6079, allocations: 290.5 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000467/0.6084, allocations: 0.5033 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.6084, allocations: 7.984 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.6088, allocations: 339 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.6091, allocations: 171.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.6092, allocations: 24 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.576e-05/0.6092, allocations: 31.94 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.6094, allocations: 119.6 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.6095, allocations: 194.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.6099, allocations: 428.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6099, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6099, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6099, allocations: 0 / 1.021 GB, free: 14.48 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.001128/0.6111, allocations: 0.8761 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6111, allocations: 8.031 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.6112, allocations: 38.73 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.6113, allocations: 56.41 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.6116, allocations: 306.2 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.6116, allocations: 20.36 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.6117, allocations: 20.38 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.6127, allocations: 221.9 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6127, allocations: 7.875 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.6127, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6127, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.6135, allocations: 99.91 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.6139, allocations: 389.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6149, allocations: 178.4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.6157, allocations: 115.5 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6157, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000922/0.6166, allocations: 233.2 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.6167, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002486/0.6191, allocations: 484.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6192, allocations: 63.41 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.6196, allocations: 409.8 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.6196, allocations: 41.69 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.6197, allocations: 97.44 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.6197, allocations: 39.53 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.6199, allocations: 129.3 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.62, allocations: 322.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.6203, allocations: 127.8 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6206, allocations: 173.9 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.6209, allocations: 269.3 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.621, allocations: 0 / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000768/0.6217, allocations: 497.9 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.6218, allocations: 91.31 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6218, allocations: 4 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6218, allocations: 4 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.622, allocations: 32.09 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.622, allocations: 4 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.6225, allocations: 63.73 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.6226, allocations: 55.98 kB / 1.026 GB, free: 8.746 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.0002046/0.6228, allocations: 196.5 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.6229, allocations: 43.47 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.623, allocations: 43.75 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.623, allocations: 0 / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.623, allocations: 4 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.623, allocations: 3.984 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.6251, allocations: 0.7458 MB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6251, allocations: 0 / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.6251, allocations: 4 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6251, allocations: 0 / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.6252, allocations: 23.97 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6252, allocations: 3.938 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6252, allocations: 0 / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.6269, allocations: 478.7 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.6271, allocations: 196.5 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.6272, allocations: 8 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.6277, allocations: 39.95 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.6277, allocations: 7.938 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.6278, allocations: 59.97 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002485/0.628, allocations: 299 kB / 1.028 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.628, allocations: 0 / 1.028 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003244/0.6284, allocations: 67.98 kB / 1.028 GB, free: 6.449 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.001964/0.6303, allocations: 1.023 MB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.6316, allocations: 452.2 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6316, allocations: 0 / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.6323, allocations: 120.2 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.6327, allocations: 36.67 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.6365, allocations: 2.897 MB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.6368, allocations: 0.7707 MB / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.278e-05/0.6368, allocations: 17.08 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.6369, allocations: 23.42 kB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6369, allocations: 0 / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/0.8274, allocations: 6.189 MB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.8277, allocations: 210.4 kB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.738, allocations: 3.625 kB / 1.04 GB, free: 10.49 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)