Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001549/0.001549, allocations: 105.4 kB / 15.7 MB, free: 24 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.001837/0.001837, allocations: 192.9 kB / 16.64 MB, free: 6.594 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.846/1.846, 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.001482/0.001483, allocations: 72.56 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2261, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003079/0.2292, allocations: 1.677 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2303, allocations: 472.4 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.2304, allocations: 7.938 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2305, allocations: 11.86 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2306, allocations: 32.16 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.2314, allocations: 286.7 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.2319, allocations: 411.5 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.232, allocations: 45.23 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.2324, allocations: 219.6 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.2327, allocations: 134.5 kB / 0.7869 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.2328, allocations: 35.94 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.2329, allocations: 28 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.233, allocations: 87.78 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2332, allocations: 155.2 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.2337, allocations: 426.7 kB / 0.7876 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2337, allocations: 0 / 0.7876 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2337, allocations: 0 / 0.7876 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.2337, allocations: 0 / 0.7876 GB, free: 9.246 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001251/0.235, allocations: 0.785 MB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.235, allocations: 12.03 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.2351, allocations: 38.73 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.2352, allocations: 36.56 kB / 0.7884 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2356, allocations: 276.2 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.2356, allocations: 20.12 kB / 0.7887 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.2357, allocations: 19.98 kB / 0.7887 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.2366, allocations: 233.3 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2366, allocations: 0 / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.2366, allocations: 12 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2367, allocations: 0 / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.2374, allocations: 111.9 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2385, allocations: 0.555 MB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.2394, allocations: 178.5 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.2401, allocations: 112.8 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2401, allocations: 3.984 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/0.2411, allocations: 230.1 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.2411, allocations: 0 / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00229/0.2434, allocations: 461 kB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2434, allocations: 59.41 kB / 0.7906 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.2438, allocations: 320.4 kB / 0.7909 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.2438, allocations: 37.7 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.2439, allocations: 109 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.244, allocations: 31.55 kB / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.2442, allocations: 105.5 kB / 0.7912 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2443, allocations: 318.8 kB / 0.7915 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2445, allocations: 99.95 kB / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.2447, allocations: 150.5 kB / 0.7917 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.245, allocations: 251.7 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.245, allocations: 3.938 kB / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006652/0.2457, allocations: 420.6 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.2458, allocations: 79.39 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2458, allocations: 8.188 kB / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2458, allocations: 3.938 kB / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.246, allocations: 23.97 kB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.246, allocations: 7.938 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.2465, allocations: 47.88 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.2465, allocations: 35.98 kB / 0.7925 GB, free: 3.773 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002114/0.2468, allocations: 192.4 kB / 0.7927 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.2468, allocations: 31.56 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.2469, allocations: 30.36 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2469, allocations: 7.875 kB / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2469, allocations: 0 / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2469, allocations: 0 / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.2489, allocations: 0.7327 MB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2489, allocations: 0 / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.249, allocations: 11.92 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.249, allocations: 0 / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.249, allocations: 15.98 kB / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.249, allocations: 7.984 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.249, allocations: 3.984 kB / 0.7935 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2507, allocations: 454.2 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.2509, allocations: 188.7 kB / 0.7942 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.251, allocations: 23.98 kB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.2514, allocations: 27.97 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2515, allocations: 11.92 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.2515, allocations: 43.98 kB / 0.7943 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002164/0.2518, allocations: 227 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2518, allocations: 0 / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003366/0.2521, allocations: 59.89 kB / 0.7945 GB, free: 1.633 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.001955/0.2541, allocations: 1.013 MB / 0.7955 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.2553, allocations: 402.5 kB / 0.7959 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2553, allocations: 0 / 0.7959 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.256, allocations: 130.6 kB / 0.796 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.2564, allocations: 35.41 kB / 0.7961 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.2601, allocations: 2.532 MB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2605, allocations: 0.7513 MB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.808e-05/0.2606, allocations: 17.42 kB / 0.7993 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.2606, allocations: 35.36 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of SimCode: time 8.21e-07/0.2606, allocations: 0 / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2836, allocations: 5.236 MB / 0.8044 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.857, allocations: 9.359 kB / 0.8044 GB, free: 7.461 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)