Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 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.001239/0.001239, allocations: 193 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.808/1.808, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.002044/0.002044, allocations: 71.36 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2345, allocations: 114.6 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003876/0.2384, allocations: 1.669 MB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2399, allocations: 484.3 kB / 0.7856 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.24, allocations: 0 / 0.7856 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.2401, allocations: 15.8 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.2403, allocations: 28.17 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.2412, allocations: 279.1 kB / 0.7859 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.2417, allocations: 415.4 kB / 0.7863 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2419, allocations: 37.38 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.2422, allocations: 219.6 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.2425, allocations: 120 kB / 0.7867 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2426, allocations: 32 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.2427, allocations: 28 kB / 0.7867 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2428, allocations: 95.7 kB / 0.7868 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.243, allocations: 151.3 kB / 0.787 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.2435, allocations: 438.6 kB / 0.7874 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2435, allocations: 0 / 0.7874 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2435, allocations: 4 kB / 0.7874 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.2435, allocations: 0 / 0.7874 GB, free: 9.5 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.001328/0.2449, allocations: 0.7773 MB / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2449, allocations: 8.031 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.496e-05/0.245, allocations: 50.69 kB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.2451, allocations: 40.55 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.2454, allocations: 272.2 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.2455, allocations: 24.11 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.2456, allocations: 27.98 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.2466, allocations: 232 kB / 0.7888 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2466, allocations: 3.938 kB / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.2466, allocations: 0 / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2466, allocations: 4 kB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.2474, allocations: 111.9 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2486, allocations: 0.5511 MB / 0.7894 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.2496, allocations: 182.4 kB / 0.7896 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.2504, allocations: 116.8 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.2504, allocations: 4 kB / 0.7897 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009718/0.2514, allocations: 219 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2514, allocations: 0 / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002524/0.2539, allocations: 468.1 kB / 0.7904 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.254, allocations: 63.39 kB / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2543, allocations: 320.4 kB / 0.7907 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.2544, allocations: 41.7 kB / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.2545, allocations: 109 kB / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2545, allocations: 27.61 kB / 0.7909 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2547, allocations: 105.5 kB / 0.791 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2549, allocations: 322.8 kB / 0.7913 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2551, allocations: 95.94 kB / 0.7914 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.2554, allocations: 150.6 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.2557, allocations: 257.2 kB / 0.7918 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2557, allocations: 0 / 0.7918 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007513/0.2565, allocations: 427.4 kB / 0.7922 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.2566, allocations: 79.38 kB / 0.7923 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2566, allocations: 4 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2567, allocations: 3.938 kB / 0.7923 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2568, allocations: 23.92 kB / 0.7923 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2568, allocations: 4 kB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.2573, allocations: 59.98 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.2574, allocations: 51.91 kB / 0.7924 GB, free: 3.992 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.0002304/0.2576, allocations: 184.3 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.2577, allocations: 27.62 kB / 0.7926 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.2578, allocations: 38.3 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2578, allocations: 4 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2578, allocations: 0 / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2578, allocations: 0 / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.2599, allocations: 0.7363 MB / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2599, allocations: 0 / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.26, allocations: 8 kB / 0.7934 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.26, allocations: 4 kB / 0.7934 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.26, allocations: 15.97 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.26, allocations: 0 / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2601, allocations: 0 / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.2618, allocations: 462.8 kB / 0.7938 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.262, allocations: 188.6 kB / 0.794 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.2621, allocations: 16 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2625, allocations: 31.95 kB / 0.7941 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.2626, allocations: 12 kB / 0.7941 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.2626, allocations: 39.97 kB / 0.7941 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002418/0.2629, allocations: 231 kB / 0.7943 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2629, allocations: 3.938 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003599/0.2632, allocations: 55.89 kB / 0.7944 GB, free: 1.863 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.002134/0.2654, allocations: 1.015 MB / 0.7954 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2666, allocations: 406.8 kB / 0.7958 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2666, allocations: 0 / 0.7958 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.2673, allocations: 123.8 kB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2677, allocations: 42.02 kB / 0.7959 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.2714, allocations: 2.522 MB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2718, allocations: 0.7474 MB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.99e-05/0.2719, allocations: 17.38 kB / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.2719, allocations: 31.42 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2719, allocations: 3.938 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2937, allocations: 5.255 MB / 0.8043 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.894, allocations: 8.25 kB / 0.8043 GB, free: 7.66 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)