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 2.059/2.059, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001496/0.001496, allocations: 189 kB / 371.8 MB, free: 10.28 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.722/1.722, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008571/0.0008571, allocations: 101.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004236, allocations: 14.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2659, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001775/0.2677, allocations: 1.34 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.2686, allocations: 447.1 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.2687, allocations: 0 / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.2687, allocations: 7.922 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2689, allocations: 31.89 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.2695, allocations: 209.8 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.2697, allocations: 179.7 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2698, allocations: 21.44 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2701, allocations: 183.5 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.2703, allocations: 123.7 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.2703, allocations: 12 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.2704, allocations: 12 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.2705, allocations: 75.78 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.2705, allocations: 73.58 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2708, allocations: 319.5 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2708, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2708, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2708, allocations: 3.938 kB / 0.9824 GB, free: 24.55 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.001001/0.2718, allocations: 0.6491 MB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2719, allocations: 8.031 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.272, allocations: 42.55 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.272, allocations: 39.58 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2724, allocations: 267.2 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.2724, allocations: 12 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.2725, allocations: 27.92 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.2728, allocations: 173.4 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2728, allocations: 4 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.2729, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2729, allocations: 4 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.273, allocations: 60.48 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2741, allocations: 0.5627 MB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.2743, allocations: 134.7 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2744, allocations: 4 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.2748, allocations: 224.1 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.2748, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004982/0.2753, allocations: 286.8 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2753, allocations: 59.39 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.2756, allocations: 320.4 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.2756, allocations: 41.7 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2757, allocations: 97.12 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.2758, allocations: 51.38 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.2758, allocations: 8 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.2759, allocations: 322.8 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2761, allocations: 108.2 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2763, allocations: 158.4 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2765, allocations: 164.1 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2765, allocations: 3.938 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005809/0.2771, allocations: 442 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.2772, allocations: 84.81 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2772, allocations: 4 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2772, allocations: 0 / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2774, allocations: 27.92 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2774, allocations: 7.938 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.2779, allocations: 75.8 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.278, allocations: 51.98 kB / 0.9868 GB, free: 19.79 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.0001686/0.2781, allocations: 185.7 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2782, allocations: 35.61 kB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.2782, allocations: 30.36 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2783, allocations: 0 / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2783, allocations: 4 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2783, allocations: 3.953 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.2789, allocations: 0.5958 MB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2789, allocations: 0 / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.279, allocations: 7.984 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.279, allocations: 4 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.279, allocations: 11.94 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.279, allocations: 0 / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.279, allocations: 0 / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.2794, allocations: 336.4 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.2795, allocations: 180.7 kB / 0.9881 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.2796, allocations: 12 kB / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2798, allocations: 19.94 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2799, allocations: 19.91 kB / 0.9882 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.2799, allocations: 27.98 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001649/0.2801, allocations: 227 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2801, allocations: 4 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002993/0.2804, allocations: 55.89 kB / 0.9885 GB, free: 17.95 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.0005751/0.281, allocations: 0.8788 MB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.2814, allocations: 368.4 kB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2815, allocations: 0 / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2816, allocations: 79.89 kB / 0.9898 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2819, allocations: 38.19 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2829, allocations: 1.655 MB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2831, allocations: 0.7556 MB / 0.9922 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2833, allocations: 45.36 kB / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2834, allocations: 51.41 kB / 0.9923 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2834, allocations: 0 / 0.9923 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.3009, allocations: 5.504 MB / 0.9976 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3011, allocations: 234.4 kB / 0.9979 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.061, allocations: 64 / 0.9979 GB, free: 8.426 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)