Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.703/1.703, allocations: 288.4 MB / 303.3 MB, free: 8.09 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.001038/0.001038, allocations: 183 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.48/1.48, 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.0007529/0.0007527, allocations: 88.95 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 12.56 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001989/0.2347, allocations: 1.358 MB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.2355, allocations: 456 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.2356, allocations: 4 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.2357, allocations: 11.86 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2358, allocations: 19.91 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.2364, allocations: 214.2 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.2367, allocations: 307.5 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.2368, allocations: 29.41 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.237, allocations: 235.5 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2373, allocations: 135.7 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.2373, allocations: 12 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.2374, allocations: 8 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.2375, allocations: 79.78 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.2376, allocations: 77.52 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2378, allocations: 323.5 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2378, allocations: 0 / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2378, allocations: 0 / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2378, allocations: 4 kB / 0.9828 GB, free: 24.27 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009667/0.2388, allocations: 0.6375 MB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2388, allocations: 12.03 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.2389, allocations: 38.55 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.239, allocations: 39.58 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2393, allocations: 275.1 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.2393, allocations: 15.94 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.2394, allocations: 24 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.2397, allocations: 170.3 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2397, allocations: 4 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2397, allocations: 0 / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2397, allocations: 0 / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2399, allocations: 59.97 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2409, allocations: 0.5666 MB / 0.9846 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2412, allocations: 134.7 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2413, allocations: 60.78 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2413, allocations: 7.922 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2418, allocations: 228.2 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.2418, allocations: 0 / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005057/0.2423, allocations: 290.7 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2423, allocations: 67.38 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.2426, allocations: 312.5 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.2426, allocations: 41.69 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2427, allocations: 93.14 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.2427, allocations: 47.44 kB / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.2428, allocations: 8 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.2428, allocations: 322.8 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.243, allocations: 104.2 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2432, allocations: 158.4 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.2435, allocations: 166.7 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2435, allocations: 8 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005847/0.2441, allocations: 439.1 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.2441, allocations: 79.38 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2441, allocations: 4 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2442, allocations: 7.938 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2443, allocations: 27.88 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2443, allocations: 4 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.2449, allocations: 75.97 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.2449, allocations: 55.98 kB / 0.9872 GB, free: 19.44 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001618/0.2451, allocations: 185.7 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2452, allocations: 31.62 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.2452, allocations: 30.36 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2452, allocations: 4 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2452, allocations: 7.938 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2452, allocations: 0 / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.2458, allocations: 0.5852 MB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2459, allocations: 3.938 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.2459, allocations: 15.98 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2459, allocations: 4 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.2459, allocations: 15.94 kB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.246, allocations: 0 / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.246, allocations: 0 / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.2463, allocations: 328.2 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2465, allocations: 184.6 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.2465, allocations: 19.94 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.2467, allocations: 19.94 kB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.2468, allocations: 19.97 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.2468, allocations: 27.98 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001502/0.247, allocations: 227 kB / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.247, allocations: 0 / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002842/0.2473, allocations: 55.89 kB / 0.9889 GB, free: 17.6 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0005635/0.2479, allocations: 0.8832 MB / 0.9898 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.2483, allocations: 367.8 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2483, allocations: 3.938 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2485, allocations: 71.97 kB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2489, allocations: 35.62 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.2507, allocations: 1.31 MB / 0.9915 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2508, allocations: 0.7585 MB / 0.9923 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.251, allocations: 41.42 kB / 0.9923 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2511, allocations: 47.42 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2511, allocations: 0 / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.2656, allocations: 5.544 MB / 0.9978 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.2658, allocations: 236.6 kB / 0.998 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.969, allocations: 0 / 0.998 GB, free: 8.395 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)