Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.703/1.703, allocations: 287.4 MB / 302.6 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001176, allocations: 189.2 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007788/0.000779, allocations: 112.3 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 11.5 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001881/0.2291, allocations: 1.19 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2303, allocations: 399.2 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.2305, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.2306, allocations: 11.88 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2307, allocations: 27.84 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.2316, allocations: 207.1 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2319, allocations: 239.5 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.232, allocations: 7.984 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.2324, allocations: 215.7 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.2327, allocations: 131.7 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.2328, allocations: 12 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.2329, allocations: 11.94 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.233, allocations: 83.83 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.2331, allocations: 69.58 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.2333, allocations: 191.9 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2333, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2333, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2334, allocations: 3.938 kB / 0.9814 GB, free: 25.33 MB / 0.6198 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.001101/0.2345, allocations: 0.6143 MB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2345, allocations: 16.03 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.2346, allocations: 38.73 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.2347, allocations: 32.66 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.235, allocations: 255.6 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.2351, allocations: 16.36 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.2352, allocations: 12.38 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.2355, allocations: 150.1 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2355, allocations: 7.875 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.2356, allocations: 3.984 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2356, allocations: 8 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2358, allocations: 43.97 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.2361, allocations: 317.3 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.2364, allocations: 122.7 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2366, allocations: 60.77 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2366, allocations: 4 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.2371, allocations: 225.8 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.2371, allocations: 0 / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006176/0.2377, allocations: 273.1 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2378, allocations: 63.39 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.238, allocations: 283 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.2381, allocations: 37.7 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.2381, allocations: 101 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.2382, allocations: 39.53 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2382, allocations: 8 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.2383, allocations: 322.8 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.2385, allocations: 92.17 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.2388, allocations: 150.4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.2392, allocations: 241.2 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2392, allocations: 4 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005706/0.2397, allocations: 415.6 kB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.2398, allocations: 77.89 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2398, allocations: 0 / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2398, allocations: 12.12 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.24, allocations: 27.91 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.24, allocations: 4 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.2405, allocations: 71.73 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.2405, allocations: 55.98 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.2407, allocations: 173.3 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2407, allocations: 23.72 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.2407, allocations: 30.25 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2408, allocations: 7.938 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2408, allocations: 0 / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2408, allocations: 0 / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.2414, allocations: 0.5723 MB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2414, allocations: 0 / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2414, allocations: 8 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2414, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.2415, allocations: 15.97 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2415, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2415, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.2418, allocations: 319 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2419, allocations: 164.6 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.242, allocations: 8 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2422, allocations: 11.98 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.2422, allocations: 19.97 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.2423, allocations: 27.98 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001405/0.2424, allocations: 205.9 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2424, allocations: 0 / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002773/0.2427, allocations: 52 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005555/0.2433, allocations: 0.8732 MB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.2437, allocations: 348 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2437, allocations: 0 / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2439, allocations: 76.27 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2442, allocations: 28.81 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2457, allocations: 1.174 MB / 0.9895 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2459, allocations: 0.736 MB / 0.9902 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.246, allocations: 41.42 kB / 0.9902 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2462, allocations: 47.34 kB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2462, allocations: 0 / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2608, allocations: 4.952 MB / 0.9951 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.261, allocations: 195.1 kB / 0.9953 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.817, allocations: 0 / 0.9953 GB, free: 10.64 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)