Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.874/1.874, allocations: 288.4 MB / 303.3 MB, free: 8.086 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.001125/0.001126, allocations: 191.2 kB / 372 MB, free: 10.25 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.709/1.709, allocations: 205.4 MB / 0.6307 GB, free: 10 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.000735/0.0007349, allocations: 90.34 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006278, allocations: 11.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2322, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00177/0.234, allocations: 1.187 MB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.2349, allocations: 405.8 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.2349, allocations: 4 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.235, allocations: 3.938 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2351, allocations: 23.91 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2357, allocations: 205.8 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.236, allocations: 239.5 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.2361, allocations: 8 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.2364, allocations: 235.5 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2366, allocations: 127.7 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2366, allocations: 12 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.2367, allocations: 8 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.2368, allocations: 83.77 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.2369, allocations: 69.58 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.237, allocations: 199.8 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.237, allocations: 0 / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2371, allocations: 0 / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2371, allocations: 0 / 0.9823 GB, free: 24.78 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.001025/0.2381, allocations: 0.6181 MB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.2382, allocations: 12.02 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.2382, allocations: 42.55 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.2383, allocations: 31.72 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.2386, allocations: 254.4 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2386, allocations: 8 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2387, allocations: 19.94 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.239, allocations: 153.5 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.239, allocations: 0 / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.239, allocations: 3.984 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.239, allocations: 4 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2392, allocations: 43.97 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.2395, allocations: 317.3 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2397, allocations: 130.7 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2399, allocations: 56.83 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.2399, allocations: 4 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.2403, allocations: 228.5 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.2403, allocations: 0 / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000507/0.2409, allocations: 270.4 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2409, allocations: 63.39 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2411, allocations: 290.8 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2412, allocations: 37.7 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2412, allocations: 97.12 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.2413, allocations: 39.52 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.2413, allocations: 8 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.2414, allocations: 326.8 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2416, allocations: 92.17 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.2418, allocations: 144.2 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.242, allocations: 162.7 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2421, allocations: 0 / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005933/0.2427, allocations: 407.2 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.2427, allocations: 79.31 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2427, allocations: 4.188 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2428, allocations: 4 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.243, allocations: 31.92 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.243, allocations: 3.984 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.2435, allocations: 79.78 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.2436, allocations: 47.98 kB / 0.9863 GB, free: 20.43 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.0001932/0.2438, allocations: 176 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.2439, allocations: 31.61 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.244, allocations: 26.2 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.244, allocations: 7.984 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2441, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2441, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.2448, allocations: 0.566 MB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2448, allocations: 0 / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.2449, allocations: 11.98 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2449, allocations: 0 / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.2449, allocations: 11.98 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2449, allocations: 7.938 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2449, allocations: 0 / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2452, allocations: 320.3 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2454, allocations: 152.7 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.2454, allocations: 11.98 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2457, allocations: 17.73 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2457, allocations: 11.98 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.2458, allocations: 35.97 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001374/0.2459, allocations: 201.9 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2459, allocations: 0 / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002854/0.2462, allocations: 51.98 kB / 0.9879 GB, free: 18.71 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.0006112/0.2468, allocations: 0.872 MB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.2473, allocations: 344.1 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2473, allocations: 384 / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2475, allocations: 75.91 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2478, allocations: 21.91 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.2495, allocations: 1.183 MB / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2497, allocations: 0.736 MB / 0.991 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.2498, allocations: 45.59 kB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2499, allocations: 43.48 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2499, allocations: 3.938 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.2653, allocations: 4.984 MB / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.2656, allocations: 202.6 kB / 0.9962 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.054, allocations: 4 kB / 0.9962 GB, free: 10.2 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)