Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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.001573/0.001573, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.5 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 69.77 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2509, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00248/0.2534, allocations: 1.49 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008787/0.2543, allocations: 431.2 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.2543, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.006e-05/0.2544, allocations: 7.938 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.2545, allocations: 20.17 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.2552, allocations: 254.3 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.2555, allocations: 327.5 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2555, allocations: 4 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.2558, allocations: 195.7 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.256, allocations: 116 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.2561, allocations: 20 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.2561, allocations: 20 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.2562, allocations: 83.77 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2563, allocations: 127.4 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.2566, allocations: 291.3 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2566, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2566, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2566, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 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.0009186/0.2576, allocations: 0.7422 MB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2576, allocations: 12.03 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.2577, allocations: 34.75 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.2577, allocations: 36.66 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.258, allocations: 271.5 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.2581, allocations: 20.11 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.2581, allocations: 12 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.259, allocations: 197.5 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.259, allocations: 0 / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.259, allocations: 11.98 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.259, allocations: 4 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.2597, allocations: 91.92 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.26, allocations: 317.2 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.2609, allocations: 174.4 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.2616, allocations: 112.2 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2616, allocations: 7.984 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00081/0.2624, allocations: 207.2 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2625, allocations: 4 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002158/0.2646, allocations: 445 kB / 0.7895 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.2647, allocations: 67.38 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.265, allocations: 290.9 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.265, allocations: 37.7 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.2651, allocations: 97.08 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.2651, allocations: 39.55 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.2653, allocations: 97.39 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.2654, allocations: 322.8 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2656, allocations: 83.94 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2658, allocations: 140.7 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.2661, allocations: 239.9 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2661, allocations: 0 / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005856/0.2667, allocations: 388.7 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/0.2668, allocations: 75.38 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2668, allocations: 4 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2668, allocations: 0 / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.267, allocations: 27.92 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.267, allocations: 7.984 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.2674, allocations: 63.98 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.2675, allocations: 35.98 kB / 0.7914 GB, free: 4.922 MB / 0.6075 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.0001682/0.2676, allocations: 171.9 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.2677, allocations: 27.7 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.2677, allocations: 22.31 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2677, allocations: 7.984 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2678, allocations: 4 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2678, allocations: 0 / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.2696, allocations: 0.6857 MB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2697, allocations: 0 / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.2697, allocations: 15.98 kB / 0.7923 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2697, allocations: 3.938 kB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.2697, allocations: 11.98 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2698, allocations: 4 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2698, allocations: 0 / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.2712, allocations: 450.2 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.2714, allocations: 168.6 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.2715, allocations: 12 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2719, allocations: 23.97 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.2719, allocations: 19.92 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.272, allocations: 43.97 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001819/0.2722, allocations: 205.9 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2722, allocations: 0 / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003205/0.2725, allocations: 55.98 kB / 0.7933 GB, free: 2.918 MB / 0.6075 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.001786/0.2743, allocations: 0.9838 MB / 0.7942 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.2754, allocations: 384.8 kB / 0.7946 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2754, allocations: 3.938 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.276, allocations: 115.9 kB / 0.7947 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2764, allocations: 35 kB / 0.7947 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2796, allocations: 2.379 MB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2799, allocations: 0.7396 MB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.28, allocations: 13.08 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.28, allocations: 23.44 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.28, allocations: 0 / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.302, allocations: 4.773 MB / 0.8025 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.589, allocations: 3.859 kB / 0.8025 GB, free: 9.383 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)