Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.005142/0.005142, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001402/0.001402, allocations: 197.6 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.472/2.472, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2473, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002492/0.2498, allocations: 1.744 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.251, allocations: 0.6229 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.251, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.2511, allocations: 15.86 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2512, allocations: 31.58 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.2519, allocations: 359.4 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.2526, allocations: 0.6321 MB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.2527, allocations: 33.09 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.253, allocations: 311.5 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.2533, allocations: 151.5 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.2534, allocations: 40 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.2535, allocations: 47.94 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2536, allocations: 127.7 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2538, allocations: 223 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.2544, allocations: 0.5997 MB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2544, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2544, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2544, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 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.001174/0.2556, allocations: 0.917 MB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2556, allocations: 12.03 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.2557, allocations: 42.73 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2558, allocations: 64.53 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.2562, allocations: 338.5 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.2562, allocations: 24.36 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.2563, allocations: 28.36 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.2572, allocations: 233.9 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2572, allocations: 3.938 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2572, allocations: 8 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.2573, allocations: 0 / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.258, allocations: 119.9 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2591, allocations: 0.672 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.2601, allocations: 182.5 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.2608, allocations: 116.8 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2608, allocations: 4 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.2617, allocations: 231.1 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2617, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002334/0.264, allocations: 495.1 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2641, allocations: 63.41 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.2645, allocations: 441.9 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.2646, allocations: 45.69 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.2646, allocations: 101.4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.2647, allocations: 51.61 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.2649, allocations: 133.5 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.265, allocations: 330.7 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.2653, allocations: 139.9 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.2656, allocations: 194.9 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.266, allocations: 288.1 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.266, allocations: 8 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008037/0.2668, allocations: 0.5163 MB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.2669, allocations: 95.38 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2669, allocations: 3.984 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2669, allocations: 4 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2671, allocations: 23.92 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2671, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.2675, allocations: 63.98 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.2676, allocations: 63.92 kB / 1.177 GB, free: 11.95 MB / 0.9356 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.000221/0.2678, allocations: 220.3 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.2679, allocations: 35.77 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.268, allocations: 39.8 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.268, allocations: 8 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.268, allocations: 3.984 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.268, allocations: 0 / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.27, allocations: 0.7911 MB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.27, allocations: 7.938 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.2701, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2701, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.2701, allocations: 27.91 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2701, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2701, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.2717, allocations: 485.6 kB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.272, allocations: 240.7 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.2721, allocations: 15.94 kB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.2725, allocations: 35.95 kB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2726, allocations: 15.92 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.2726, allocations: 59.98 kB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00031/0.273, allocations: 323.1 kB / 1.179 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.21e-07/0.273, allocations: 0 / 1.179 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000308/0.2733, allocations: 67.95 kB / 1.179 GB, free: 9.504 MB / 0.9356 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.001953/0.2752, allocations: 1.048 MB / 1.18 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.2764, allocations: 484.4 kB / 1.181 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2765, allocations: 0 / 1.181 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.2772, allocations: 119.9 kB / 1.181 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2775, allocations: 43.72 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.2816, allocations: 3.016 MB / 1.184 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.282, allocations: 0.7825 MB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.2821, allocations: 17.42 kB / 1.185 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2821, allocations: 31.42 kB / 1.185 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2822, allocations: 3.938 kB / 1.185 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.908/3.19, allocations: 6.716 MB / 1.191 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/18.35, allocations: 5.75 kB / 1.191 GB, free: 13.09 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)