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.728/1.728, allocations: 285.4 MB / 298 MB, free: 5.984 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.001145/0.001145, allocations: 172.9 kB / 366.4 MB, free: 2.102 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.761/1.761, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007816/0.0007816, allocations: 93.17 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.584e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7286, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.913, allocations: 140 MB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.9132, allocations: 67.97 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.9287, allocations: 5.194 MB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.868e-06/0.9288, allocations: 7.938 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.9288, allocations: 0 / 1.113 GB, free: 6.465 MB / 0.7136 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.0009415/0.9298, allocations: 0.6064 MB / 1.113 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.9298, allocations: 12.03 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.9299, allocations: 38.55 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.93, allocations: 35.62 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.9305, allocations: 276 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.9305, allocations: 15.98 kB / 1.114 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.9306, allocations: 24 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.931, allocations: 162.8 kB / 1.114 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.931, allocations: 0 / 1.114 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.931, allocations: 3.953 kB / 1.114 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.931, allocations: 4 kB / 1.114 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.9312, allocations: 65.52 kB / 1.114 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.9325, allocations: 0.5863 MB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.9327, allocations: 134.7 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.9329, allocations: 67.28 kB / 1.115 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.9329, allocations: 4 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.9333, allocations: 219.8 kB / 1.115 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.9333, allocations: 0 / 1.115 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004848/0.9338, allocations: 241.8 kB / 1.115 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.9339, allocations: 55.41 kB / 1.115 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.9342, allocations: 278.7 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.9342, allocations: 41.7 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.9344, allocations: 105 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.9344, allocations: 39.45 kB / 1.116 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.9344, allocations: 8 kB / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9346, allocations: 330.8 kB / 1.116 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.9348, allocations: 120.2 kB / 1.116 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.9351, allocations: 170.4 kB / 1.116 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.9354, allocations: 161.9 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9354, allocations: 4 kB / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007344/0.9361, allocations: 439.1 kB / 1.117 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.9362, allocations: 79.39 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9362, allocations: 0 / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9363, allocations: 7.984 kB / 1.117 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.9364, allocations: 23.92 kB / 1.117 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.9365, allocations: 7.938 kB / 1.117 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.9369, allocations: 52.06 kB / 1.117 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.9369, allocations: 54.33 kB / 1.117 GB, free: 1.758 MB / 0.7136 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 () * 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.0001557/0.9371, allocations: 140 kB / 1.117 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.9372, allocations: 23.72 kB / 1.117 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.9372, allocations: 31.92 kB / 1.117 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9372, allocations: 4 kB / 1.117 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.9373, allocations: 0 / 1.117 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.9373, allocations: 3.984 kB / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/0.9381, allocations: 0.5966 MB / 1.118 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9381, allocations: 0 / 1.118 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.9381, allocations: 8 kB / 1.118 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9381, allocations: 0 / 1.118 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.9382, allocations: 18.03 kB / 1.118 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.9382, allocations: 8 kB / 1.118 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9382, allocations: 3.938 kB / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.9386, allocations: 325.6 kB / 1.118 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.9388, allocations: 188.6 kB / 1.119 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.9389, allocations: 11.98 kB / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.9391, allocations: 12 kB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.9392, allocations: 15.97 kB / 1.119 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.9392, allocations: 35.98 kB / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002185/0.9395, allocations: 222.1 kB / 1.119 GB, free: 40 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9395, allocations: 0 / 1.119 GB, free: 40 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003444/0.9398, allocations: 61.53 kB / 1.119 GB, free: 15.98 MB / 0.7292 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) * 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.0007664/0.9406, allocations: 0.8867 MB / 1.12 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.9412, allocations: 377.3 kB / 1.12 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9412, allocations: 0 / 1.12 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.9413, allocations: 71.98 kB / 1.12 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.9416, allocations: 29.56 kB / 1.12 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.9424, allocations: 379.1 kB / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.9428, allocations: 0.7576 MB / 1.121 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.943, allocations: 41.2 kB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.9431, allocations: 51.41 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.9432, allocations: 0 / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.9613, allocations: 6.002 MB / 1.127 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/0.9617, allocations: 197.5 kB / 1.127 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.49, allocations: 5 kB / 1.127 GB, free: 7.32 MB / 0.7292 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)