Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001106/0.001106, allocations: 182.2 kB / 371.6 MB, free: 3.41 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.781/1.781, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009808/0.000981, allocations: 94.41 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.483e-05/5.485e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9468/1.302, allocations: 141.8 MB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.302, allocations: 73.14 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/1.317, allocations: 5.309 MB / 1.124 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/1.317, allocations: 0 / 1.124 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.554e-05/1.317, allocations: 8 kB / 1.124 GB, free: 39.65 MB / 0.7448 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.0007271/1.318, allocations: 0.6494 MB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.318, allocations: 8.031 kB / 1.124 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.209e-05/1.318, allocations: 43.95 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/1.318, allocations: 37.34 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/1.318, allocations: 276.4 kB / 1.125 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/1.318, allocations: 19.44 kB / 1.125 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.318, allocations: 22.62 kB / 1.125 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/1.319, allocations: 176.2 kB / 1.125 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.319, allocations: 0 / 1.125 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.319, allocations: 7.516 kB / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.319, allocations: 4 kB / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/1.319, allocations: 62.03 kB / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.32, allocations: 0.5973 MB / 1.125 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/1.32, allocations: 110.9 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/1.32, allocations: 60.73 kB / 1.126 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/1.32, allocations: 4 kB / 1.126 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/1.321, allocations: 167.8 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/1.321, allocations: 4 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004744/1.321, allocations: 257.1 kB / 1.126 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.321, allocations: 63.09 kB / 1.126 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/1.321, allocations: 285 kB / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.321, allocations: 37.39 kB / 1.126 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/1.321, allocations: 107.8 kB / 1.127 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.321, allocations: 38.53 kB / 1.127 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/1.322, allocations: 7.5 kB / 1.127 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/1.322, allocations: 322.6 kB / 1.127 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/1.322, allocations: 106.8 kB / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/1.322, allocations: 155.8 kB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.322, allocations: 162.5 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.322, allocations: 0 / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006002/1.323, allocations: 421.4 kB / 1.128 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/1.323, allocations: 89.33 kB / 1.128 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.323, allocations: 4.844 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.323, allocations: 2.906 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/1.323, allocations: 23.5 kB / 1.128 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.323, allocations: 4 kB / 1.128 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/1.323, allocations: 44.12 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/1.323, allocations: 46.58 kB / 1.128 GB, free: 36.1 MB / 0.7448 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001091/1.324, allocations: 130.2 kB / 1.128 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/1.324, allocations: 27.67 kB / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/1.324, allocations: 31.81 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.324, allocations: 0.6562 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.324, allocations: 0 / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.324, allocations: 4 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/1.324, allocations: 0.6393 MB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.324, allocations: 4 kB / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/1.325, allocations: 11.36 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.325, allocations: 0 / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/1.325, allocations: 15.31 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.325, allocations: 1.062 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.325, allocations: 4 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/1.325, allocations: 355.5 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.325, allocations: 191 kB / 1.129 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/1.325, allocations: 24.45 kB / 1.129 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/1.326, allocations: 30.94 kB / 1.129 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/1.326, allocations: 8.031 kB / 1.129 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/1.326, allocations: 42.27 kB / 1.129 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001806/1.326, allocations: 225.4 kB / 1.13 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.326, allocations: 0 / 1.13 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003101/1.326, allocations: 58.52 kB / 1.13 GB, free: 34.69 MB / 0.7448 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) * 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 (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.0006329/1.327, allocations: 0.925 MB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004612/1.327, allocations: 354.3 kB / 1.131 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.327, allocations: 8.375 kB / 1.131 GB, free: 33.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.327, allocations: 64.3 kB / 1.131 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/1.328, allocations: 36.39 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/1.328, allocations: 381.3 kB / 1.131 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/1.329, allocations: 0.7617 MB / 1.132 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.135e-05/1.329, allocations: 13.34 kB / 1.132 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/1.329, allocations: 32.08 kB / 1.132 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/1.329, allocations: 0 / 1.132 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/1.346, allocations: 5.54 MB / 1.138 GB, free: 29.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.346, allocations: 190.6 kB / 1.138 GB, free: 29.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.969, allocations: 0 / 1.138 GB, free: 29.03 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)