Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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_9_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.004961/0.004961, allocations: 99.05 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.39 kB / 0.9505 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2092, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002492/0.2117, allocations: 1.726 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2129, allocations: 0.6315 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.213, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.434e-05/0.2131, allocations: 15.81 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2132, allocations: 27.84 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.2139, allocations: 373.1 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.2145, allocations: 0.6321 MB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.2146, allocations: 37.06 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.2149, allocations: 311.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2151, allocations: 155.6 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.2152, allocations: 40 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.2153, allocations: 44 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2154, allocations: 127.6 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2156, allocations: 215 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.2161, allocations: 0.5917 MB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2161, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2161, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2161, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 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.001137/0.2173, allocations: 0.917 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2173, allocations: 12.03 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.2174, allocations: 38.75 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2175, allocations: 52.45 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.2179, allocations: 338.1 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.2179, allocations: 20.36 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.218, allocations: 28.38 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2191, allocations: 233.9 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2191, allocations: 7.875 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.2191, allocations: 11.98 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2191, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/0.22, allocations: 111.9 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2213, allocations: 0.672 MB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2224, allocations: 182.4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.2232, allocations: 116.8 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2233, allocations: 4 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/0.2242, allocations: 230.3 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.2242, allocations: 3.938 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002687/0.2269, allocations: 0.4929 MB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2269, allocations: 63.39 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.2273, allocations: 437.9 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.2274, allocations: 41.69 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.2275, allocations: 105.3 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.2275, allocations: 35.55 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.2277, allocations: 137.3 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.2278, allocations: 330.8 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2281, allocations: 139.9 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2284, allocations: 182.9 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.2288, allocations: 305 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2288, allocations: 8 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000827/0.2296, allocations: 0.5125 MB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.2297, allocations: 103.3 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2297, allocations: 4 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2298, allocations: 4 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2299, allocations: 19.92 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2299, allocations: 7.984 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.2304, allocations: 55.8 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.2305, allocations: 63.92 kB / 1.098 GB, free: 6.719 MB / 0.8575 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.0002151/0.2307, allocations: 220.3 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.2308, allocations: 35.53 kB / 1.098 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.2309, allocations: 43.78 kB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2309, allocations: 4 kB / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2309, allocations: 0 / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2309, allocations: 0 / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.2332, allocations: 0.7911 MB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2332, allocations: 0 / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.2332, allocations: 4 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2332, allocations: 0 / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.2333, allocations: 27.91 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2333, allocations: 4 kB / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2333, allocations: 7.938 kB / 1.099 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2351, allocations: 481.9 kB / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.2354, allocations: 248.4 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.2355, allocations: 19.94 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.236, allocations: 27.97 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.2361, allocations: 7.984 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.2361, allocations: 63.97 kB / 1.1 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002846/0.2364, allocations: 319.1 kB / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2364, allocations: 0 / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003486/0.2368, allocations: 67.98 kB / 1.1 GB, free: 4.277 MB / 0.8575 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.002144/0.2389, allocations: 1.053 MB / 1.101 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.2403, allocations: 478.4 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2403, allocations: 0 / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.2411, allocations: 123 kB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.2415, allocations: 38.66 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.2457, allocations: 3.004 MB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.246, allocations: 0.7864 MB / 1.106 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.678e-05/0.2461, allocations: 13.42 kB / 1.106 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.2461, allocations: 31.42 kB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.2461, allocations: 0 / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3829/0.629, allocations: 6.723 MB / 1.112 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.187, allocations: 15.91 kB / 1.112 GB, free: 7.867 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)