Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001407/0.001407, allocations: 176.9 kB / 361.4 MB, free: 6.844 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.879/1.879, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008174/0.0008172, allocations: 96.59 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.243e-05, allocations: 4 kB / 0.8518 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7135, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.9067, allocations: 137 MB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.9069, allocations: 71.95 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009685/0.9166, allocations: 3.886 MB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9167, allocations: 0 / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9167, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 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.0004797/0.9172, allocations: 392.5 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.9173, allocations: 8.625 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.9173, allocations: 8.938 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.9176, allocations: 184.5 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.9176, allocations: 7.938 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.9177, allocations: 7.344 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.9178, allocations: 36.48 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.918, allocations: 70.19 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.918, allocations: 1 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.918, allocations: 4 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.918, allocations: 0 / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.9188, allocations: 314.9 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.919, allocations: 114.5 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.9191, allocations: 62.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.9192, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.9193, allocations: 87.84 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.9194, allocations: 0.5938 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002679/0.9196, allocations: 110.3 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.9197, allocations: 52.62 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9198, allocations: 118.5 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.9199, allocations: 25.7 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.9199, allocations: 95.81 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.92, allocations: 19.67 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.92, allocations: 0.5 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9201, allocations: 323.6 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.9202, allocations: 32.61 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.9203, allocations: 55.25 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.9204, allocations: 35.77 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9204, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000195/0.9206, allocations: 130.8 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.9206, allocations: 5.812 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9206, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.9207, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.9207, allocations: 11.64 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9208, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.9208, allocations: 4 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.9209, allocations: 23.91 kB / 1.104 GB, free: 12.38 MB / 0.7136 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 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.921, allocations: 109.8 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.9211, allocations: 7.906 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.9211, allocations: 17.42 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9211, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9211, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9211, allocations: 2.188 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.9216, allocations: 375 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9216, allocations: 0.6562 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.9216, allocations: 7.719 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9216, allocations: 4 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9217, allocations: 0 / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9217, allocations: 3.938 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9217, allocations: 0 / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.9219, allocations: 222.7 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.922, allocations: 85.02 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.922, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.9221, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.9221, allocations: 11.98 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.9221, allocations: 23.89 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.9222, allocations: 98.12 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9222, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000245/0.9225, allocations: 12 kB / 1.105 GB, free: 11.34 MB / 0.7136 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) * 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 (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.000165/0.9226, allocations: 107 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.9228, allocations: 87.91 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9228, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.9229, allocations: 43.92 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.9233, allocations: 63.39 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.9237, allocations: 137 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.924, allocations: 0.701 MB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.9241, allocations: 17.97 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.9241, allocations: 19.42 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.9241, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.004056/0.9282, allocations: 1.411 MB / 1.108 GB, free: 8.766 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)