Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001174/0.001174, 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.002045/0.002045, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6044/0.6057, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002815/0.6086, allocations: 1.738 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.6098, allocations: 0.6246 MB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.6099, allocations: 3.938 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.758e-05/0.61, allocations: 11.88 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.6102, allocations: 31.78 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.611, allocations: 362.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006114/0.6117, allocations: 0.6398 MB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.6118, allocations: 25.12 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.6122, allocations: 307.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.6125, allocations: 155.3 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.6126, allocations: 40 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.6127, allocations: 40 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.6129, allocations: 131.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.6131, allocations: 215 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.6137, allocations: 0.5981 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6137, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6137, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.6137, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 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.001542/0.6153, allocations: 0.9015 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6153, allocations: 12.03 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.6154, allocations: 42.67 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.6155, allocations: 64.31 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.616, allocations: 334.1 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.616, allocations: 20.55 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.6161, allocations: 32.36 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.6172, allocations: 237.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6172, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.6172, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.6172, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.618, allocations: 123.8 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.6193, allocations: 0.6798 MB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6204, allocations: 186.5 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.6212, allocations: 113 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.6212, allocations: 7.938 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009605/0.6222, allocations: 235.1 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.993e-06/0.6222, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002732/0.6249, allocations: 499 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.625, allocations: 63.39 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.6255, allocations: 441.8 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.321e-05/0.6256, allocations: 41.7 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6257, allocations: 109.3 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.6258, allocations: 39.55 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.626, allocations: 137.3 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6262, allocations: 330.8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.6265, allocations: 139.9 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.6269, allocations: 190.4 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.6273, allocations: 308.1 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6273, allocations: 0 / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009576/0.6283, allocations: 0.524 MB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.6284, allocations: 91.38 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6284, allocations: 7.984 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6284, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.6286, allocations: 27.92 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.6286, allocations: 7.984 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.6292, allocations: 59.98 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6293, allocations: 55.98 kB / 1.028 GB, free: 7.215 MB / 0.7794 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.0003058/0.6296, allocations: 221.4 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.6297, allocations: 39.52 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.6297, allocations: 39.8 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6298, allocations: 7.984 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6298, allocations: 0 / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6298, allocations: 11.88 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.632, allocations: 0.787 MB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.632, allocations: 0 / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.6321, allocations: 11.98 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.6321, allocations: 0 / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.6321, allocations: 23.92 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6322, allocations: 0 / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6322, allocations: 4 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.6339, allocations: 476 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.6342, allocations: 244.4 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.6343, allocations: 27.88 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.6348, allocations: 27.97 kB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.6349, allocations: 7.984 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/0.635, allocations: 63.97 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00033/0.6353, allocations: 319.1 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6353, allocations: 0 / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000374/0.6357, allocations: 71.98 kB / 1.03 GB, free: 4.766 MB / 0.7794 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.002164/0.6379, allocations: 1.042 MB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.6393, allocations: 479.2 kB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6393, allocations: 0 / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.6401, allocations: 129.9 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.6406, allocations: 34.47 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.6454, allocations: 2.999 MB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.646, allocations: 0.7901 MB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.646, allocations: 21.36 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.6461, allocations: 31.42 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.6462, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/0.7992, allocations: 6.715 MB / 1.042 GB, free: 8.355 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.781, allocations: 7.906 kB / 1.042 GB, free: 8.355 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)