Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.007178/0.007178, allocations: 96.34 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.001688/0.001688, allocations: 202.7 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.493/2.493, allocations: 437.1 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 60.09 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002564/0.2496, allocations: 1.74 MB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2508, allocations: 0.6246 MB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.2508, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.2509, allocations: 11.88 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2511, allocations: 35.56 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.2518, allocations: 374.8 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.2524, allocations: 0.6282 MB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.2525, allocations: 29.11 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.2529, allocations: 307.5 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.2531, allocations: 159.6 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.2532, allocations: 40 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.2533, allocations: 44 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2535, allocations: 131.5 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2537, allocations: 219 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.2542, allocations: 0.592 MB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2542, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2542, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.2542, allocations: 0 / 1.171 GB, free: 2.309 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.001161/0.2554, allocations: 0.9248 MB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2555, allocations: 8.031 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.2555, allocations: 42.73 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2556, allocations: 56.66 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.256, allocations: 334.5 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.256, allocations: 24.36 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.2561, allocations: 32.36 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.257, allocations: 243.9 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.257, allocations: 7.922 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2571, allocations: 4 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2571, allocations: 0 / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.2578, allocations: 115.9 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.259, allocations: 0.6759 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/0.26, allocations: 178.5 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.2607, allocations: 120.7 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2607, allocations: 4 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/0.2616, allocations: 227.2 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2616, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002386/0.264, allocations: 498.9 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.264, allocations: 63.41 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.2645, allocations: 445.8 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2645, allocations: 41.69 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.2646, allocations: 105.4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.2647, allocations: 43.69 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2649, allocations: 137.5 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.265, allocations: 330.7 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.2653, allocations: 139.9 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.2656, allocations: 186.9 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.266, allocations: 301.2 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.266, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008153/0.2668, allocations: 0.5147 MB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/0.2669, allocations: 99.41 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2669, allocations: 0 / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2669, allocations: 4 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2671, allocations: 27.91 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2671, allocations: 4 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.2675, allocations: 63.8 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.2676, allocations: 59.92 kB / 1.177 GB, free: 11.98 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.0002207/0.2679, allocations: 220.3 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.2679, allocations: 39.75 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.268, allocations: 43.8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.268, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.268, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.268, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.2701, allocations: 0.7951 MB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2701, allocations: 3.938 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.2701, allocations: 7.984 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2701, allocations: 4 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.2702, allocations: 19.92 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2702, allocations: 7.938 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2702, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.2719, allocations: 489.8 kB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.2721, allocations: 244.7 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.2722, allocations: 23.94 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2727, allocations: 31.95 kB / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.2727, allocations: 4 kB / 1.179 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.2728, allocations: 59.97 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003106/0.2731, allocations: 319.1 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2731, allocations: 0 / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003316/0.2734, allocations: 71.94 kB / 1.179 GB, free: 9.531 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.001991/0.2754, allocations: 1.046 MB / 1.18 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.2767, allocations: 476.1 kB / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2767, allocations: 0 / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.2774, allocations: 132.2 kB / 1.181 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2778, allocations: 46.02 kB / 1.181 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.2819, allocations: 3.008 MB / 1.184 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2823, allocations: 0.7864 MB / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.2824, allocations: 17.41 kB / 1.185 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.2824, allocations: 31.42 kB / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.2824, allocations: 0 / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7815/1.064, allocations: 6.712 MB / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.94, allocations: 11.88 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)