Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006198/0.006198, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.663/1.663, allocations: 252 MB / 0.5105 GB, free: 4.605 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.000547, allocations: 15.59 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6321/0.6327, allocations: 106.3 MB / 0.7287 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001438/0.6342, allocations: 1.045 MB / 0.7298 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.6346, allocations: 199.3 kB / 0.7299 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.6346, allocations: 0 / 0.7299 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.188e-05/0.6347, allocations: 0 / 0.7299 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.6348, allocations: 7.938 kB / 0.7299 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.635, allocations: 31.95 kB / 0.73 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.6352, allocations: 51.91 kB / 0.73 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6353, allocations: 16 kB / 0.73 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.6353, allocations: 19.92 kB / 0.7301 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.6354, allocations: 19.91 kB / 0.7301 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.6354, allocations: 0 / 0.7301 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.6354, allocations: 7.938 kB / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.6355, allocations: 11.98 kB / 0.7301 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.6356, allocations: 53.52 kB / 0.7302 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.6357, allocations: 67.75 kB / 0.7302 GB, free: 9.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6357, allocations: 0 / 0.7302 GB, free: 9.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.968e-06/0.6357, allocations: 0 / 0.7302 GB, free: 9.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6357, allocations: 3.938 kB / 0.7302 GB, free: 9.859 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005717/0.6363, allocations: 391.1 kB / 0.7306 GB, free: 9.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.6363, allocations: 12.03 kB / 0.7306 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.6364, allocations: 8.844 kB / 0.7306 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.6366, allocations: 192.2 kB / 0.7308 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.6366, allocations: 384 / 0.7308 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.6367, allocations: 8.375 kB / 0.7308 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.6368, allocations: 82.16 kB / 0.7309 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.6369, allocations: 192 / 0.7309 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6369, allocations: 7.938 kB / 0.7309 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6369, allocations: 4 kB / 0.7309 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.637, allocations: 43.91 kB / 0.7309 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.6376, allocations: 336.7 kB / 0.7313 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.6378, allocations: 114.5 kB / 0.7314 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.6379, allocations: 72.86 kB / 0.7314 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6379, allocations: 0 / 0.7314 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.6381, allocations: 83.31 kB / 0.7315 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.6381, allocations: 0 / 0.7315 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002966/0.6384, allocations: 165.4 kB / 0.7317 GB, free: 8.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6385, allocations: 59.47 kB / 0.7317 GB, free: 8.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.6386, allocations: 125.7 kB / 0.7319 GB, free: 7.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6386, allocations: 29.7 kB / 0.7319 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.6386, allocations: 92.14 kB / 0.732 GB, free: 7.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.6387, allocations: 27.64 kB / 0.732 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.6387, allocations: 17.72 kB / 0.732 GB, free: 7.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6388, allocations: 326.8 kB / 0.7323 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.6389, allocations: 31.98 kB / 0.7324 GB, free: 7.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.639, allocations: 62.53 kB / 0.7324 GB, free: 7.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.6391, allocations: 98.53 kB / 0.7325 GB, free: 7.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6391, allocations: 0 / 0.7325 GB, free: 7.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001729/0.6393, allocations: 121.6 kB / 0.7326 GB, free: 7.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6393, allocations: 4 kB / 0.7326 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6393, allocations: 0 / 0.7326 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6393, allocations: 7.984 kB / 0.7326 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.6394, allocations: 11.94 kB / 0.7326 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6394, allocations: 0 / 0.7326 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.6395, allocations: 7.906 kB / 0.7327 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.6396, allocations: 31.98 kB / 0.7327 GB, free: 7.086 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.242e-05/0.6397, allocations: 129.8 kB / 0.7328 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.6397, allocations: 3.906 kB / 0.7328 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.6397, allocations: 12.38 kB / 0.7328 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.6397, allocations: 3.938 kB / 0.7328 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6397, allocations: 0 / 0.7328 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6397, allocations: 3.984 kB / 0.7328 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.6402, allocations: 418.3 kB / 0.7332 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6402, allocations: 4 kB / 0.7332 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.6402, allocations: 480 / 0.7332 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6402, allocations: 0 / 0.7332 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.6402, allocations: 4 kB / 0.7332 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6402, allocations: 7.984 kB / 0.7332 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6402, allocations: 0 / 0.7332 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.6404, allocations: 223.2 kB / 0.7335 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.6405, allocations: 85.02 kB / 0.7335 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.6405, allocations: 11.98 kB / 0.7336 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.6406, allocations: 0 / 0.7336 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.6406, allocations: 11.92 kB / 0.7336 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.6407, allocations: 31.89 kB / 0.7336 GB, free: 6.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.6407, allocations: 95.27 kB / 0.7337 GB, free: 5.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6407, allocations: 0 / 0.7337 GB, free: 5.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002262/0.641, allocations: 12 kB / 0.7337 GB, free: 5.949 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001364/0.6411, allocations: 111.2 kB / 0.7338 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.6413, allocations: 91.89 kB / 0.7339 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6413, allocations: 4 kB / 0.7339 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.6414, allocations: 43.97 kB / 0.7339 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.6418, allocations: 67.53 kB / 0.734 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.6422, allocations: 219.1 kB / 0.7342 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.6424, allocations: 0.6926 MB / 0.7349 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.867e-05/0.6425, allocations: 16.66 kB / 0.7349 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.6425, allocations: 15.42 kB / 0.7349 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.6425, allocations: 0 / 0.7349 GB, free: 4.637 MB / 0.545 GB Notification: Performance of Templates: time 0.003963/0.6465, allocations: 1.577 MB / 0.7365 GB, free: 3.086 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) Environment - environmentSimulation: