Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001274, allocations: 174.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 99.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 13.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.4055, allocations: 133.9 MB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4059, allocations: 75.95 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01595/0.4218, allocations: 5.211 MB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4219, allocations: 0 / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.4219, allocations: 4 kB / 1.036 GB, free: 4.418 MB / 0.6823 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.001396/0.4233, allocations: 0.6535 MB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4234, allocations: 8.031 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.4235, allocations: 42.55 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.4237, allocations: 39.62 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.4243, allocations: 279.1 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.4243, allocations: 15.98 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.4244, allocations: 16 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.4248, allocations: 167.9 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4248, allocations: 3.953 kB / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.4249, allocations: 11.98 kB / 1.037 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4249, allocations: 0 / 1.037 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4251, allocations: 59.91 kB / 1.037 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.4264, allocations: 0.5864 MB / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.4268, allocations: 134.7 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.4268, allocations: 4 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.4273, allocations: 234.2 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.545e-06/0.4273, allocations: 0 / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006889/0.428, allocations: 277.2 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.4281, allocations: 59.39 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.4285, allocations: 287.6 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.4285, allocations: 41.7 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.4286, allocations: 97.03 kB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.4287, allocations: 47.47 kB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4288, allocations: 8 kB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4289, allocations: 326.8 kB / 1.039 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.4293, allocations: 120.2 kB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.4296, allocations: 178.3 kB / 1.04 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.43, allocations: 167.3 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.43, allocations: 0 / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009379/0.4309, allocations: 451.1 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.431, allocations: 89.98 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.431, allocations: 0 / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4311, allocations: 4 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4313, allocations: 27.91 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4313, allocations: 4 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.4317, allocations: 48.06 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.4318, allocations: 55.98 kB / 1.04 GB, free: 15.64 MB / 0.698 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.0002815/0.4321, allocations: 189.6 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.4322, allocations: 35.61 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.4322, allocations: 30.36 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4323, allocations: 4 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4323, allocations: 0 / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4323, allocations: 4 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.4333, allocations: 0.5918 MB / 1.041 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4333, allocations: 0 / 1.041 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.4333, allocations: 11.98 kB / 1.041 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4333, allocations: 0 / 1.041 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.4334, allocations: 15.98 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4334, allocations: 3.938 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4334, allocations: 0 / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.4339, allocations: 330.9 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4342, allocations: 180.7 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.4343, allocations: 20 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4345, allocations: 7.984 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.4346, allocations: 15.98 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.4346, allocations: 31.97 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003263/0.4349, allocations: 231 kB / 1.042 GB, free: 13.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.435, allocations: 0 / 1.042 GB, free: 13.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004076/0.4354, allocations: 63.84 kB / 1.042 GB, free: 13.79 MB / 0.698 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.0009906/0.4364, allocations: 0.8881 MB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.4371, allocations: 387 kB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4371, allocations: 4.062 kB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4373, allocations: 73.94 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4376, allocations: 27.69 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.4393, allocations: 1.655 MB / 1.045 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.4398, allocations: 0.7634 MB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.44, allocations: 33.42 kB / 1.046 GB, free: 9.828 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4401, allocations: 59.41 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.4401, allocations: 0 / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4606, allocations: 5.959 MB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.4609, allocations: 227.4 kB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.141, allocations: 4 kB / 1.052 GB, free: 3.785 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)